Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.001224/0.001224, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001012/0.001012, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.9519/0.9519, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7773/0.7773, allocations: 154.6 MB / 414.5 MB, free: 0.6562 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.33e-05, allocations: 5.609 kB / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.001992/0.002006, allocations: 1.84 MB / 0.5221 GB, free: 360 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003071, allocations: 0.5551 MB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.00318, allocations: 7.938 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.003312, allocations: 19.8 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.00338, allocations: 37.45 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.003594, allocations: 67.84 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.00379, allocations: 176.3 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.003923, allocations: 33.77 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.004035, allocations: 80.25 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.004099, allocations: 43.88 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.004132, allocations: 8.844 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.004149, allocations: 12 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.004181, allocations: 33.06 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.004228, allocations: 35.86 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.004421, allocations: 103.5 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.004426, allocations: 0.5 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.253e-06/0.004427, allocations: 0 / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.004432, allocations: 1.781 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005452/0.004978, allocations: 0.5109 MB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.005015, allocations: 12.03 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.00507, allocations: 30.52 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.005273, allocations: 176.3 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.005287, allocations: 13.81 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.005312, allocations: 16.38 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.005515, allocations: 152.8 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.005524, allocations: 0.9375 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.005539, allocations: 4.375 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.005552, allocations: 9.406 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.00562, allocations: 43.91 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.006297, allocations: 0.891 MB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.006364, allocations: 35.05 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.006391, allocations: 16.41 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.006408, allocations: 0 / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.00653, allocations: 130.8 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.006531, allocations: 0 / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002151/0.006746, allocations: 113.4 kB / 0.5254 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.006797, allocations: 136.5 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.006921, allocations: 231.6 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.006936, allocations: 33.69 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.007008, allocations: 183.1 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.007044, allocations: 39.83 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.00709, allocations: 43.36 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.007201, allocations: 0.4973 MB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.007233, allocations: 19.98 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.00732, allocations: 165.4 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.00746, allocations: 216.2 kB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.007463, allocations: 0.7812 kB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001749/0.007638, allocations: 176.1 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.007652, allocations: 4.75 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.007657, allocations: 4.234 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.007671, allocations: 9.562 kB / 0.5271 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.007744, allocations: 31.92 kB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.007753, allocations: 11.92 kB / 0.5271 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.007814, allocations: 23.88 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.007825, allocations: 18.42 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.764e-05/0.007902, allocations: 168.5 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.007925, allocations: 23.84 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.007952, allocations: 21.45 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.007955, allocations: 4 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.007959, allocations: 2.688 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.007963, allocations: 0 / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.008335, allocations: 0.5043 MB / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008336, allocations: 0 / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.008389, allocations: 19.92 kB / 0.5279 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008391, allocations: 0 / 0.5279 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.008407, allocations: 12.25 kB / 0.5279 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008408, allocations: 2.812 kB / 0.5279 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.008412, allocations: 8 kB / 0.5279 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.008629, allocations: 394.2 kB / 0.5283 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.008647, allocations: 19.89 kB / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.008663, allocations: 4 kB / 0.5283 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.008733, allocations: 7.984 kB / 0.5283 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.008776, allocations: 15.61 kB / 0.5283 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.008783, allocations: 4 kB / 0.5283 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.811e-05/0.008851, allocations: 176.9 kB / 0.5285 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008851, allocations: 0 / 0.5285 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002188/0.00907, allocations: 28 kB / 0.5285 GB, free: 9.324 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.748e-05/0.009158, allocations: 107.1 kB / 0.5286 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.009301, allocations: 94.8 kB / 0.5287 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.009302, allocations: 0 / 0.5287 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.009349, allocations: 31.61 kB / 0.5288 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.009687, allocations: 72 kB / 0.5288 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.01012, allocations: 331 kB / 0.5291 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.01017, allocations: 73.42 kB / 0.5292 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.707e-05/0.01022, allocations: 22.66 kB / 0.5292 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.01026, allocations: 20.5 kB / 0.5292 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01026, allocations: 0.5625 kB / 0.5293 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of Templates: time 0.004016/0.01428, allocations: 2.256 MB / 0.5315 GB, free: 6.406 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.823895800858736]