Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 211.9 kB / 23.01 MB, free: 3.113 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8889/0.8889, allocations: 230.6 MB / 256.8 MB, free: 3.477 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03733/0.03733, allocations: 12.19 MB / 325.4 MB, free: 3.422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004359/0.0004359, allocations: 33.7 kB / 384.9 MB, free: 45.77 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.635/1.635, allocations: 353.8 MB / 0.7795 GB, free: 13.04 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 124.8 kB / 1.061 GB, free: 9.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2132, allocations: 134.9 MB / 1.193 GB, free: 2.605 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.00151/0.2147, allocations: 0.7425 MB / 1.194 GB, free: 1.867 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.216, allocations: 1.225 MB / 1.195 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.216, allocations: 0 / 1.195 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.216, allocations: 7.875 kB / 1.195 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.2161, allocations: 7.922 kB / 1.195 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.2166, allocations: 147.5 kB / 1.195 GB, free: 484 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.2167, allocations: 123.8 kB / 1.195 GB, free: 360 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2168, allocations: 16.17 kB / 1.195 GB, free: 340 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2169, allocations: 55.89 kB / 1.195 GB, free: 284 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2171, allocations: 51.48 kB / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2171, allocations: 8 kB / 1.195 GB, free: 228 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.2172, allocations: 31.98 kB / 1.195 GB, free: 196 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.2172, allocations: 23.91 kB / 1.195 GB, free: 172 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.2173, allocations: 43.84 kB / 1.195 GB, free: 128 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.2175, allocations: 135.5 kB / 1.196 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2175, allocations: 0 / 1.196 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2175, allocations: 0 / 1.196 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.2175, allocations: 0 / 1.196 GB, free: 15.99 MB / 0.8387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004956/0.218, allocations: 349.4 kB / 1.196 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.218, allocations: 11.98 kB / 1.196 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.2181, allocations: 12.89 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.2182, allocations: 118.4 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.2182, allocations: 8.375 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2182, allocations: 12.38 kB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.2184, allocations: 74.16 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2184, allocations: 7.922 kB / 1.196 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2184, allocations: 11.98 kB / 1.196 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2184, allocations: 0 / 1.196 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.2185, allocations: 43.95 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.2189, allocations: 315.7 kB / 1.196 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2191, allocations: 54.55 kB / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.2191, allocations: 32.95 kB / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2191, allocations: 4 kB / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.2193, allocations: 91.39 kB / 1.197 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2193, allocations: 0 / 1.197 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of matching and sorting (n=8): time 0.0002916/0.2196, allocations: 149.8 kB / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2196, allocations: 51.41 kB / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.2197, allocations: 121.8 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2197, allocations: 29.7 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.2198, allocations: 96.09 kB / 1.197 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2198, allocations: 19.83 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.2198, allocations: 37.7 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.2199, allocations: 326.8 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.22, allocations: 51.97 kB / 1.197 GB, free: 13.82 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2201, allocations: 96.98 kB / 1.198 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2203, allocations: 154.7 kB / 1.198 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2203, allocations: 0 / 1.198 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002739/0.2206, allocations: 219.1 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.2206, allocations: 33.7 kB / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2206, allocations: 0 / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2206, allocations: 160 / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.2207, allocations: 19.98 kB / 1.198 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2207, allocations: 12 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2208, allocations: 39.91 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2208, allocations: 4 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.2209, allocations: 121.8 kB / 1.198 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.2209, allocations: 11.94 kB / 1.198 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.2211, allocations: 133.9 kB / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2211, allocations: 0 / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2211, allocations: 0 / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2211, allocations: 0 / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.2214, allocations: 349.5 kB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2214, allocations: 4 kB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.2214, allocations: 15.98 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2214, allocations: 0 / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2214, allocations: 4 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2214, allocations: 4 kB / 1.199 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2214, allocations: 3.938 kB / 1.199 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2216, allocations: 211.4 kB / 1.199 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.2216, allocations: 11.95 kB / 1.199 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.2216, allocations: 0 / 1.199 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.2216, allocations: 7.984 kB / 1.199 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.2217, allocations: 15.92 kB / 1.199 GB, free: 12.23 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2217, allocations: 0 / 1.199 GB, free: 12.23 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.2217, allocations: 91.27 kB / 1.199 GB, free: 12.14 MB / 0.8387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2217, allocations: 3.938 kB / 1.199 GB, free: 12.14 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000183/0.2219, allocations: 24 kB / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001192/0.222, allocations: 107.2 kB / 1.199 GB, free: 12 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2223, allocations: 163.2 kB / 1.199 GB, free: 11.83 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2223, allocations: 0 / 1.199 GB, free: 11.83 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.383e-05/0.2223, allocations: 39.97 kB / 1.199 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.2225, allocations: 18.58 kB / 1.199 GB, free: 11.77 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.2229, allocations: 208.8 kB / 1.199 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2231, allocations: 0.6885 MB / 1.2 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.2231, allocations: 19.42 kB / 1.2 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.2231, allocations: 0 / 1.2 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of Templates: time 0.002288/0.2254, allocations: 1.292 MB / 1.201 GB, free: 9.531 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.92902459949255] Failed to read output from testmodel.py, exit status != 0: 0.23211975023150444 0.244144925 0.024762373 Calling exit ...