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.001052/0.001052, allocations: 93.06 kB / 19.65 MB, free: 280 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.001477/0.001477, allocations: 169 kB / 23.02 MB, free: 1.555 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.994/0.994, allocations: 177.1 MB / 203.4 MB, free: 5.672 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.005182/0.005182, allocations: 240.9 kB / 260.2 MB, free: 12.85 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.7898/0.7898, allocations: 138.4 MB / 455.1 MB, free: 30.02 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 1.212e-06/1.212e-06, allocations: 0 / 0.5551 GB, free: 196 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.791e-05, allocations: 2.312 kB / 0.5551 GB, free: 192 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002179/0.002197, allocations: 1.865 MB / 0.5569 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000883/0.00308, allocations: 0.5609 MB / 0.5575 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003181, allocations: 7.938 kB / 0.5575 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.00334, allocations: 27.67 kB / 0.5575 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.003411, allocations: 31.72 kB / 0.5575 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.003644, allocations: 67.78 kB / 0.5576 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.003848, allocations: 179.4 kB / 0.5578 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.003994, allocations: 37.77 kB / 0.5578 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.004098, allocations: 79.8 kB / 0.5579 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.004161, allocations: 47.81 kB / 0.5579 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.004188, allocations: 12 kB / 0.5579 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.004203, allocations: 8 kB / 0.5579 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.004233, allocations: 27.86 kB / 0.558 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.004278, allocations: 39.84 kB / 0.558 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.00442, allocations: 103.6 kB / 0.5581 GB, free: 13.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004422, allocations: 0 / 0.5581 GB, free: 13.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004422, allocations: 0 / 0.5581 GB, free: 13.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004426, allocations: 3.938 kB / 0.5581 GB, free: 13.08 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.0005651/0.004991, allocations: 0.5109 MB / 0.5586 GB, free: 12.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.00503, allocations: 13.94 kB / 0.5586 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.005082, allocations: 28.84 kB / 0.5587 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.005288, allocations: 184.2 kB / 0.5588 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.005301, allocations: 12.31 kB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.005332, allocations: 12.38 kB / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.005523, allocations: 157.3 kB / 0.559 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005532, allocations: 192 / 0.559 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.005547, allocations: 12.38 kB / 0.559 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.005558, allocations: 3.938 kB / 0.559 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.005621, allocations: 39.91 kB / 0.5591 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.006276, allocations: 0.8818 MB / 0.5599 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.00634, allocations: 38.98 kB / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.006369, allocations: 19.69 kB / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.00639, allocations: 160 / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.006514, allocations: 123.8 kB / 0.5601 GB, free: 10.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 7.81e-07/0.006515, allocations: 0 / 0.5601 GB, free: 10.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002106/0.006726, allocations: 109.6 kB / 0.5602 GB, free: 10.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.006779, allocations: 144.4 kB / 0.5603 GB, free: 10.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.00691, allocations: 236.5 kB / 0.5606 GB, free: 10.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.006924, allocations: 33.69 kB / 0.5606 GB, free: 10.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.006999, allocations: 174.7 kB / 0.5608 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.007023, allocations: 35.69 kB / 0.5608 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.007071, allocations: 47.36 kB / 0.5608 GB, free: 10.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.007187, allocations: 0.5004 MB / 0.5613 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.007222, allocations: 19.98 kB / 0.5613 GB, free: 9.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/0.007312, allocations: 162.6 kB / 0.5615 GB, free: 9.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.007458, allocations: 210.4 kB / 0.5617 GB, free: 8.977 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.007461, allocations: 0 / 0.5617 GB, free: 8.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001716/0.007633, allocations: 177.1 kB / 0.5619 GB, free: 8.797 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.007647, allocations: 11.98 kB / 0.5619 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.007654, allocations: 7.938 kB / 0.5619 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.007672, allocations: 4.234 kB / 0.5619 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.007748, allocations: 31.92 kB / 0.5619 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.007756, allocations: 8 kB / 0.5619 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.007819, allocations: 24.33 kB / 0.562 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.007829, allocations: 12 kB / 0.562 GB, free: 8.699 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 8.32e-05/0.007912, allocations: 181.3 kB / 0.5621 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.007932, allocations: 23.78 kB / 0.5622 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.007966, allocations: 25.45 kB / 0.5622 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007968, allocations: 0 / 0.5622 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007971, allocations: 0 / 0.5622 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007975, allocations: 4 kB / 0.5622 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.00835, allocations: 0.5043 MB / 0.5627 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008352, allocations: 0 / 0.5627 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.008401, allocations: 12.31 kB / 0.5627 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.008405, allocations: 7.984 kB / 0.5627 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.008421, allocations: 8 kB / 0.5627 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.008424, allocations: 7.938 kB / 0.5627 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008425, allocations: 0 / 0.5627 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.008656, allocations: 393.7 kB / 0.5631 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.00868, allocations: 23.89 kB / 0.5631 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.008703, allocations: 0 / 0.5631 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.008815, allocations: 7.938 kB / 0.5631 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.008874, allocations: 19.97 kB / 0.5631 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.008882, allocations: 8 kB / 0.5631 GB, free: 7.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.008955, allocations: 175.2 kB / 0.5633 GB, free: 7.238 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008955, allocations: 0 / 0.5633 GB, free: 7.238 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.009169, allocations: 31.94 kB / 0.5633 GB, free: 7.207 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 9.311e-05/0.009262, allocations: 99.19 kB / 0.5634 GB, free: 7.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.009418, allocations: 85.89 kB / 0.5635 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.00942, allocations: 8.062 kB / 0.5635 GB, free: 7.008 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.00947, allocations: 31.61 kB / 0.5636 GB, free: 6.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.009816, allocations: 56.92 kB / 0.5636 GB, free: 6.918 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.01024, allocations: 333.6 kB / 0.5639 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.381e-05/0.0103, allocations: 75.92 kB / 0.564 GB, free: 6.457 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.01034, allocations: 26.02 kB / 0.564 GB, free: 6.434 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.01038, allocations: 20.5 kB / 0.5641 GB, free: 6.414 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01038, allocations: 0 / 0.5641 GB, free: 6.414 MB / 490.7 MB Notification: Performance of Templates: time 0.003931/0.01432, allocations: 2.158 MB / 0.5662 GB, free: 4.328 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.8895128462463617]