Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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.0007609/0.0007609, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008922/0.001653, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006754/0.0006754, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009011/0.001576, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8851/0.8851, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0834/0.9685, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001374/0.001374, allocations: 228.3 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002585, allocations: 475.7 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6441/0.6441, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06448/0.7085, allocations: 42.41 MB / 426.7 MB, free: 5.812 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.225e-05, allocations: 2.312 kB / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002347/0.002359, allocations: 1.65 MB / 429.7 MB, free: 2.848 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.00321, allocations: 0.6386 MB / 430.3 MB, free: 2.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.003262, allocations: 4 kB / 430.3 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.042e-05/0.003323, allocations: 15.8 kB / 430.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.003367, allocations: 15.8 kB / 430.4 MB, free: 2.168 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.003659, allocations: 99.62 kB / 430.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.003803, allocations: 95.66 kB / 430.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.00388, allocations: 20.2 kB / 430.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.004053, allocations: 79.78 kB / 430.6 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.004129, allocations: 39.91 kB / 430.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.004148, allocations: 8 kB / 430.7 MB, free: 1.828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.004309, allocations: 107.8 kB / 430.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.004348, allocations: 15.94 kB / 430.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.004386, allocations: 23.92 kB / 430.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.004568, allocations: 115.7 kB / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.004577, allocations: 0 / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004578, allocations: 0 / 430.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.004587, allocations: 3.938 kB / 430.9 MB, free: 1.566 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000542/0.005129, allocations: 373.8 kB / 431.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.005159, allocations: 11.98 kB / 431.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.005439, allocations: 114 kB / 431.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.005583, allocations: 133.6 kB / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.005593, allocations: 8.312 kB / 431.6 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.005607, allocations: 4.375 kB / 431.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.005772, allocations: 97.64 kB / 431.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.005779, allocations: 192 / 431.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.005788, allocations: 384 / 431.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.00581, allocations: 11.94 kB / 431.7 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.005858, allocations: 15.92 kB / 431.7 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.006189, allocations: 201.8 kB / 431.9 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.006272, allocations: 82.39 kB / 432 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.006302, allocations: 16.86 kB / 432 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.006313, allocations: 0 / 432 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.006433, allocations: 78.19 kB / 432.1 MB, free: 324 kB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.006434, allocations: 0 / 432.1 MB, free: 324 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001497/0.006584, allocations: 73.61 kB / 432.1 MB, free: 244 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.006612, allocations: 51.41 kB / 432.2 MB, free: 180 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.006697, allocations: 146.7 kB / 432.3 MB, free: 20 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1733/0.18, allocations: 25.7 kB / 432.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.18, allocations: 91.3 kB / 432.5 MB, free: 2.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.18, allocations: 28.72 kB / 432.5 MB, free: 2.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.1801, allocations: 27.27 kB / 432.5 MB, free: 2.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.1801, allocations: 325.2 kB / 432.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.1802, allocations: 41.75 kB / 432.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.1802, allocations: 39.17 kB / 432.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.1803, allocations: 72 kB / 433 MB, free: 1.891 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1803, allocations: 0.5938 kB / 433 MB, free: 1.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001264/0.1804, allocations: 132.4 kB / 433.1 MB, free: 1.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.1805, allocations: 31.73 kB / 433.1 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1805, allocations: 1.312 kB / 433.1 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1805, allocations: 0 / 433.1 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1806, allocations: 22.45 kB / 433.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1806, allocations: 5.078 kB / 433.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.1807, allocations: 17.44 kB / 433.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1807, allocations: 4.547 kB / 433.2 MB, free: 1.766 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 5.61e-05/0.1807, allocations: 117 kB / 433.3 MB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1808, allocations: 8.578 kB / 433.3 MB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.1808, allocations: 14.42 kB / 433.3 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.1808, allocations: 7.703 kB / 433.3 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1808, allocations: 3.938 kB / 433.3 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1808, allocations: 2.781 kB / 433.3 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.539e-05/0.1809, allocations: 89.86 kB / 433.4 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1809, allocations: 0 / 433.4 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.181, allocations: 20.67 kB / 433.4 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.181, allocations: 7.859 kB / 433.5 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.181, allocations: 0 / 433.5 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.181, allocations: 2.766 kB / 433.5 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.181, allocations: 0 / 433.5 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.181, allocations: 4.594 kB / 433.5 MB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1811, allocations: 97.03 kB / 433.6 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1811, allocations: 4.797 kB / 433.6 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.1812, allocations: 11.5 kB / 433.6 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1812, allocations: 13.12 kB / 433.6 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1812, allocations: 1.828 kB / 433.6 MB, free: 1.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.1812, allocations: 35.28 kB / 433.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1812, allocations: 0 / 433.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.1814, allocations: 44.2 kB / 433.7 MB, free: 1.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001277/0.1816, allocations: 105.5 kB / 433.8 MB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1817, allocations: 126.3 kB / 433.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.1817, allocations: 0 / 433.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.1818, allocations: 34.14 kB / 433.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.1819, allocations: 80.31 kB / 434 MB, free: 17.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1829, allocations: 222.2 kB / 434.2 MB, free: 17.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.183, allocations: 64.02 kB / 434.3 MB, free: 17.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.64e-05/0.183, allocations: 9 kB / 434.3 MB, free: 17.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.1831, allocations: 63.52 kB / 434.4 MB, free: 16.97 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1831, allocations: 0.5469 kB / 434.4 MB, free: 16.97 MB / 426.7 MB Notification: Performance of Templates: time 0.003408/0.1865, allocations: 1.492 MB / 435.8 MB, free: 16.95 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.118905672803521]