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.001384/0.001384, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001648/0.001648, allocations: 173 kB / 23.36 MB, free: 1.129 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 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.005161/0.005161, allocations: 250 kB / 260.5 MB, free: 12.7 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.726/0.726, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.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 1.452e-06/1.452e-06, allocations: 0 / 462.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.485e-05, allocations: 4.422 kB / 462.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002676/0.002701, allocations: 1.905 MB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003723, allocations: 0.5748 MB / 464.8 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.003816, allocations: 6.938 kB / 464.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.003949, allocations: 25.17 kB / 464.9 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.004017, allocations: 29.75 kB / 464.9 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.004229, allocations: 66.28 kB / 465 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.004441, allocations: 180 kB / 465.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.004561, allocations: 32.56 kB / 465.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.00469, allocations: 80.58 kB / 465.3 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.004759, allocations: 41.73 kB / 465.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.004784, allocations: 9.938 kB / 465.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.004801, allocations: 10.75 kB / 465.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.004834, allocations: 34.09 kB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.004878, allocations: 36.77 kB / 465.4 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.00503, allocations: 102.4 kB / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005033, allocations: 0.6094 kB / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.005035, allocations: 1.656 kB / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005039, allocations: 1.594 kB / 465.5 MB, free: 14.98 MB / 426.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.0004764/0.005515, allocations: 375.7 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.005552, allocations: 10.88 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.005596, allocations: 22.5 kB / 465.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.005799, allocations: 174.5 kB / 466.1 MB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.005813, allocations: 8.594 kB / 466.1 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.005838, allocations: 18 kB / 466.1 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.006006, allocations: 133.5 kB / 466.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.006015, allocations: 4.125 kB / 466.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.006026, allocations: 6.812 kB / 466.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.006036, allocations: 8.312 kB / 466.2 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.006082, allocations: 30 kB / 466.3 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.006616, allocations: 0.5621 MB / 466.8 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.363e-05/0.006669, allocations: 27.27 kB / 466.9 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.006689, allocations: 11.27 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.006704, allocations: 4.062 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.006826, allocations: 108.5 kB / 467 MB, free: 13.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.006827, allocations: 1.469 kB / 467 MB, free: 13.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001682/0.006995, allocations: 91.41 kB / 467.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.007054, allocations: 135.5 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.007175, allocations: 183.8 kB / 467.4 MB, free: 13.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.00719, allocations: 31.42 kB / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.007251, allocations: 127 kB / 467.5 MB, free: 13.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.007276, allocations: 33.34 kB / 467.6 MB, free: 13.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.007324, allocations: 54.12 kB / 467.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.007404, allocations: 328.6 kB / 467.9 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.007426, allocations: 11.48 kB / 467.9 MB, free: 12.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.007493, allocations: 115.9 kB / 468.1 MB, free: 12.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.00762, allocations: 170.2 kB / 468.2 MB, free: 12.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007622, allocations: 0 / 468.2 MB, free: 12.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001361/0.007758, allocations: 140.6 kB / 468.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.007774, allocations: 15.92 kB / 468.4 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.00778, allocations: 4.719 kB / 468.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.007794, allocations: 4 kB / 468.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.007877, allocations: 36.67 kB / 468.4 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.007884, allocations: 8.484 kB / 468.4 MB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.007944, allocations: 17.67 kB / 468.4 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.007953, allocations: 11.98 kB / 468.5 MB, free: 12.25 MB / 426.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,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 7.579e-05/0.008028, allocations: 132.6 kB / 468.6 MB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.008047, allocations: 13.08 kB / 468.6 MB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.008084, allocations: 21.41 kB / 468.6 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.008088, allocations: 4.5 kB / 468.6 MB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.008092, allocations: 2.953 kB / 468.6 MB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.008097, allocations: 3.984 kB / 468.6 MB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.008419, allocations: 343.5 kB / 469 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008421, allocations: 0 / 469 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.008478, allocations: 25.17 kB / 469 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.008481, allocations: 0 / 469 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.008492, allocations: 4.781 kB / 469 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.008494, allocations: 1.438 kB / 469 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008496, allocations: 0 / 469 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.008667, allocations: 279.5 kB / 469.3 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.008684, allocations: 19.78 kB / 469.3 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.008702, allocations: 11.98 kB / 469.3 MB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.008774, allocations: 5.281 kB / 469.3 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.008812, allocations: 15.97 kB / 469.3 MB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.008818, allocations: 4 kB / 469.3 MB, free: 11.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.442e-05/0.008852, allocations: 51.73 kB / 469.4 MB, free: 11.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008852, allocations: 0 / 469.4 MB, free: 11.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.009046, allocations: 28 kB / 469.4 MB, free: 11.27 MB / 426.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 9.259e-05/0.009138, allocations: 80.98 kB / 469.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.00925, allocations: 84.66 kB / 469.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.009254, allocations: 0 / 469.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.009296, allocations: 32.78 kB / 469.6 MB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.009613, allocations: 69.91 kB / 469.7 MB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01002, allocations: 333.7 kB / 470 MB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.774e-05/0.01007, allocations: 71.98 kB / 470.1 MB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.01013, allocations: 17.86 kB / 470.1 MB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.01021, allocations: 87.3 kB / 470.2 MB, free: 10.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01021, allocations: 0 / 470.2 MB, free: 10.46 MB / 426.7 MB Notification: Performance of Templates: time 0.00401/0.01422, allocations: 2.22 MB / 472.4 MB, free: 8.441 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.73210411099717]