Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009462/0.0009462, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009365/0.0009365, allocations: 173 kB / 23.5 MB, free: 1.055 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.938/0.938, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001724/0.001724, allocations: 237.2 kB / 260.5 MB, free: 12.89 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7664/0.7664, allocations: 138.4 MB / 455.4 MB, free: 30.09 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.555 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.274e-05, allocations: 2.312 kB / 0.555 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002161/0.002184, allocations: 1.842 MB / 0.5568 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.002955, allocations: 0.5648 MB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.003041, allocations: 11.94 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.003169, allocations: 23.67 kB / 0.5574 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.003231, allocations: 27.73 kB / 0.5574 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.003409, allocations: 67.8 kB / 0.5575 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.003587, allocations: 179.4 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.003711, allocations: 37.78 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.003809, allocations: 83.78 kB / 0.5578 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.003865, allocations: 35.83 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.00389, allocations: 16 kB / 0.5578 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.003905, allocations: 8 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.003936, allocations: 35.89 kB / 0.5579 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.003979, allocations: 35.86 kB / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004116, allocations: 99.52 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004118, allocations: 0 / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004119, allocations: 0 / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004123, allocations: 0 / 0.558 GB, free: 13.45 MB / 490.7 MB 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.0005156/0.004639, allocations: 0.5186 MB / 0.5585 GB, free: 12.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.004674, allocations: 13.94 kB / 0.5585 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.004726, allocations: 28.83 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.004923, allocations: 188.2 kB / 0.5587 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.004936, allocations: 12.31 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.004961, allocations: 12.38 kB / 0.5588 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.005142, allocations: 157.3 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.005149, allocations: 192 / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.005167, allocations: 4.375 kB / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.00518, allocations: 11.94 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.005244, allocations: 31.92 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.005864, allocations: 0.8896 MB / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.005925, allocations: 38.98 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.005955, allocations: 19.69 kB / 0.5599 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.005971, allocations: 0 / 0.5599 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.00609, allocations: 115.8 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.021e-06/0.006091, allocations: 4 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002208/0.006311, allocations: 117.6 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.006368, allocations: 132.5 kB / 0.5602 GB, free: 10.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.006533, allocations: 244.5 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.006547, allocations: 25.7 kB / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.006622, allocations: 178.6 kB / 0.5607 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.006645, allocations: 35.84 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.006691, allocations: 51.36 kB / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.006798, allocations: 0.4964 MB / 0.5612 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.006835, allocations: 27.92 kB / 0.5613 GB, free: 9.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.007065, allocations: 166.6 kB / 0.5614 GB, free: 9.602 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.007218, allocations: 206.4 kB / 0.5616 GB, free: 9.328 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.007221, allocations: 4 kB / 0.5616 GB, free: 9.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001742/0.007395, allocations: 177.2 kB / 0.5618 GB, free: 9.145 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007408, allocations: 4 kB / 0.5618 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007414, allocations: 7.938 kB / 0.5618 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.007428, allocations: 4 kB / 0.5618 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.007504, allocations: 31.92 kB / 0.5618 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.007512, allocations: 11.98 kB / 0.5618 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.007574, allocations: 20.3 kB / 0.5619 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.007583, allocations: 12 kB / 0.5619 GB, free: 9.055 MB / 490.7 MB 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 8e-05/0.007663, allocations: 181.2 kB / 0.5621 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.007684, allocations: 27.84 kB / 0.5621 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.007711, allocations: 13.7 kB / 0.5621 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007713, allocations: 0 / 0.5621 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.007718, allocations: 7.984 kB / 0.5621 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.007723, allocations: 3.984 kB / 0.5621 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.008094, allocations: 0.5004 MB / 0.5626 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.008096, allocations: 3.984 kB / 0.5626 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.008148, allocations: 12 kB / 0.5626 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.00815, allocations: 4 kB / 0.5626 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.008167, allocations: 8 kB / 0.5626 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008168, allocations: 0 / 0.5626 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.00817, allocations: 3.984 kB / 0.5626 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.008383, allocations: 401.3 kB / 0.563 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.008399, allocations: 15.91 kB / 0.563 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008416, allocations: 4.297 kB / 0.563 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.008491, allocations: 12 kB / 0.563 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.008539, allocations: 19.91 kB / 0.5631 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.008547, allocations: 12 kB / 0.5631 GB, free: 7.762 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.607e-05/0.008613, allocations: 167.2 kB / 0.5632 GB, free: 7.598 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008613, allocations: 0 / 0.5632 GB, free: 7.598 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.00882, allocations: 35.92 kB / 0.5633 GB, free: 7.562 MB / 490.7 MB 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 7.173e-05/0.008892, allocations: 106.3 kB / 0.5634 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.00903, allocations: 81.34 kB / 0.5634 GB, free: 7.371 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009032, allocations: 4.062 kB / 0.5634 GB, free: 7.367 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.00908, allocations: 39.59 kB / 0.5635 GB, free: 7.324 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.009405, allocations: 60.92 kB / 0.5635 GB, free: 7.266 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.00981, allocations: 333.6 kB / 0.5639 GB, free: 6.898 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.009852, allocations: 75.92 kB / 0.5639 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.612e-05/0.009899, allocations: 25.73 kB / 0.564 GB, free: 6.781 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.009932, allocations: 16.5 kB / 0.564 GB, free: 6.766 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009933, allocations: 0 / 0.564 GB, free: 6.766 MB / 490.7 MB Notification: Performance of Templates: time 0.003482/0.01342, allocations: 2.153 MB / 0.5661 GB, free: 4.688 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.706212996970862]