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.001494/0.001494, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001973/0.001973, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.049/1.049, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7634/0.7634, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.673e-06/1.673e-06, allocations: 0 / 0.5215 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.574e-05, allocations: 3.312 kB / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002846/0.002872, allocations: 1.82 MB / 0.5233 GB, free: 120 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003952, allocations: 0.5581 MB / 0.5239 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.004068, allocations: 3.938 kB / 0.5239 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.004208, allocations: 32.7 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.572e-05/0.004284, allocations: 28.95 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.004491, allocations: 67.8 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.004706, allocations: 180 kB / 0.5242 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.00483, allocations: 33.78 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.004948, allocations: 77.2 kB / 0.5243 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.005011, allocations: 35.89 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.005036, allocations: 12 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.005053, allocations: 8 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.00509, allocations: 40.3 kB / 0.5244 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.005135, allocations: 36.61 kB / 0.5244 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.005289, allocations: 95.58 kB / 0.5245 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.005293, allocations: 5.156 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005293, allocations: 0 / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.005298, allocations: 3.938 kB / 0.5245 GB, free: 14.91 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.0005501/0.005848, allocations: 0.5157 MB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.005883, allocations: 9.062 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.005937, allocations: 36.78 kB / 0.525 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.006144, allocations: 173.6 kB / 0.5252 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.006158, allocations: 12.38 kB / 0.5252 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.006183, allocations: 13.12 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.006505, allocations: 153.6 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.006514, allocations: 192 / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.006531, allocations: 8.375 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.006539, allocations: 6.719 kB / 0.5254 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.006593, allocations: 31.92 kB / 0.5254 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.007281, allocations: 0.8552 MB / 0.5263 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.307e-05/0.007354, allocations: 40.2 kB / 0.5263 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.00738, allocations: 19.67 kB / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.007395, allocations: 4 kB / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.007524, allocations: 119.5 kB / 0.5264 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.973e-06/0.007526, allocations: 0.5625 kB / 0.5264 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002263/0.007753, allocations: 114.4 kB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.007818, allocations: 136.5 kB / 0.5267 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.00796, allocations: 244.8 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.007978, allocations: 29.7 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.008062, allocations: 178.2 kB / 0.5271 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.008095, allocations: 44.2 kB / 0.5271 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.008151, allocations: 43.34 kB / 0.5272 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.008285, allocations: 0.4975 MB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.008314, allocations: 11.98 kB / 0.5277 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.008414, allocations: 168 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.008586, allocations: 217.5 kB / 0.528 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.008589, allocations: 0 / 0.528 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002136/0.008802, allocations: 159.5 kB / 0.5282 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.008819, allocations: 11.94 kB / 0.5282 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.008827, allocations: 7.438 kB / 0.5282 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.008839, allocations: 4 kB / 0.5282 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.008938, allocations: 31.92 kB / 0.5283 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.008945, allocations: 8 kB / 0.5283 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/0.009038, allocations: 27.81 kB / 0.5283 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.00905, allocations: 8 kB / 0.5283 GB, free: 10.62 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,intNoReset.trigger_internal,intDef.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 0.000102/0.009152, allocations: 160.6 kB / 0.5284 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.009185, allocations: 31.78 kB / 0.5285 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.00922, allocations: 24.11 kB / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.009225, allocations: 4 kB / 0.5285 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.009228, allocations: 0 / 0.5285 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.009236, allocations: 4 kB / 0.5285 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.009955, allocations: 485 kB / 0.529 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.009959, allocations: 3.938 kB / 0.529 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.01002, allocations: 12.66 kB / 0.529 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01002, allocations: 0 / 0.529 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01004, allocations: 10.39 kB / 0.529 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01004, allocations: 3.938 kB / 0.529 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01005, allocations: 4 kB / 0.529 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.0103, allocations: 386.6 kB / 0.5294 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01032, allocations: 19.83 kB / 0.5294 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.01034, allocations: 8 kB / 0.5294 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.01045, allocations: 14.38 kB / 0.5294 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.0105, allocations: 19.97 kB / 0.5294 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.0105, allocations: 0 / 0.5294 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.434e-05/0.01058, allocations: 168.9 kB / 0.5296 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01058, allocations: 0 / 0.5296 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003161/0.01089, allocations: 31.94 kB / 0.5296 GB, free: 9.199 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 0.0001104/0.011, allocations: 108.5 kB / 0.5297 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.01115, allocations: 85.38 kB / 0.5298 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01115, allocations: 0.75 kB / 0.5298 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.0112, allocations: 36.69 kB / 0.5298 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.01167, allocations: 74.62 kB / 0.5299 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.01214, allocations: 339.5 kB / 0.5302 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.735e-05/0.01219, allocations: 71.98 kB / 0.5303 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.638e-05/0.01226, allocations: 14.61 kB / 0.5303 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.01237, allocations: 111.7 kB / 0.5304 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.01238, allocations: 0 / 0.5304 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of Templates: time 0.004836/0.01721, allocations: 2.339 MB / 0.5327 GB, free: 6.105 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.853773508220911]