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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 109.8 kB / 18.33 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 188.5 kB / 21.5 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 250.1 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] 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.002371/0.002371, allocations: 288.2 kB / 305.5 MB, free: 3.582 MB / 238.1 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 1.111/1.111, allocations: 180.9 MB / 0.5289 GB, free: 1.969 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002765/0.002765, allocations: 92.17 kB / 0.729 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5501, allocations: 94.16 MB / 0.821 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.003289/0.5534, allocations: 1.57 MB / 0.8225 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.5546, allocations: 0.5831 MB / 0.8231 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.5547, allocations: 1.312 kB / 0.8231 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.5548, allocations: 13.27 kB / 0.8231 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.5549, allocations: 22.28 kB / 0.8231 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.5553, allocations: 94.83 kB / 0.8232 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.5555, allocations: 94.11 kB / 0.8233 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.5556, allocations: 14.06 kB / 0.8233 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.5557, allocations: 48.83 kB / 0.8233 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.5559, allocations: 46.05 kB / 0.8234 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.5559, allocations: 7.094 kB / 0.8234 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.5561, allocations: 92.25 kB / 0.8235 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.5562, allocations: 24.25 kB / 0.8235 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.5563, allocations: 41.89 kB / 0.8235 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.5565, allocations: 135.2 kB / 0.8237 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5565, allocations: 5.281 kB / 0.8237 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5565, allocations: 0 / 0.8237 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5565, allocations: 0 / 0.8237 GB, free: 2.602 MB / 0.5606 GB 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.0009304/0.5574, allocations: 453.3 kB / 0.8241 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5575, allocations: 9.219 kB / 0.8241 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.5575, allocations: 13.3 kB / 0.8241 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.5578, allocations: 195.1 kB / 0.8243 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5578, allocations: 6.719 kB / 0.8243 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.5578, allocations: 12.92 kB / 0.8243 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.5582, allocations: 99.22 kB / 0.8244 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5582, allocations: 0 / 0.8244 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.5582, allocations: 5.438 kB / 0.8244 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.5583, allocations: 10.91 kB / 0.8244 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.5586, allocations: 90.73 kB / 0.8245 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.5594, allocations: 347.9 kB / 0.8249 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.5597, allocations: 88.61 kB / 0.8249 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.56, allocations: 62.5 kB / 0.825 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.56, allocations: 0.875 kB / 0.825 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.5603, allocations: 117.8 kB / 0.8251 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.5603, allocations: 112 / 0.8251 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0006995/0.561, allocations: 210.3 kB / 0.8253 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.5611, allocations: 53.81 kB / 0.8254 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.5612, allocations: 142.1 kB / 0.8255 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.5612, allocations: 27.95 kB / 0.8255 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.5613, allocations: 103.5 kB / 0.8256 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.5613, allocations: 24.39 kB / 0.8256 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.5614, allocations: 34.05 kB / 0.8257 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5616, allocations: 325 kB / 0.826 GB, free: 480 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.5618, allocations: 56.48 kB / 0.826 GB, free: 456 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.562, allocations: 53.45 kB / 0.8261 GB, free: 436 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.5624, allocations: 154.8 kB / 0.8262 GB, free: 336 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5624, allocations: 0 / 0.8262 GB, free: 336 kB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005066/0.5629, allocations: 197.1 kB / 0.8264 GB, free: 212 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.563, allocations: 31.2 kB / 0.8265 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.563, allocations: 0 / 0.8265 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.563, allocations: 1.375 kB / 0.8265 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5632, allocations: 32.22 kB / 0.8265 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5632, allocations: 1.375 kB / 0.8265 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.5633, allocations: 17.61 kB / 0.8265 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.5633, allocations: 1.375 kB / 0.8265 GB, free: 152 kB / 0.5606 GB 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 0.0001248/0.5635, allocations: 124.6 kB / 0.8266 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.5635, allocations: 8.547 kB / 0.8266 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.5635, allocations: 11.47 kB / 0.8267 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.5635, allocations: 6.734 kB / 0.8267 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5635, allocations: 5.375 kB / 0.8267 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5635, allocations: 80 / 0.8267 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.5638, allocations: 208.9 kB / 0.8269 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5638, allocations: 3.938 kB / 0.8269 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.5639, allocations: 18.97 kB / 0.8269 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5639, allocations: 0 / 0.8269 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5639, allocations: 1.375 kB / 0.8269 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5639, allocations: 1.375 kB / 0.8269 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5639, allocations: 0 / 0.8269 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.5644, allocations: 193.8 kB / 0.8271 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.5645, allocations: 83.81 kB / 0.8272 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.5645, allocations: 5.359 kB / 0.8272 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.5646, allocations: 12.23 kB / 0.8272 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.5647, allocations: 13.48 kB / 0.8272 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5647, allocations: 5.375 kB / 0.8272 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.5648, allocations: 109.8 kB / 0.8273 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5648, allocations: 0 / 0.8273 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002531/0.565, allocations: 43.5 kB / 0.8273 GB, free: 15.4 MB / 0.5762 GB 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.000183/0.5652, allocations: 120.1 kB / 0.8274 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.5658, allocations: 181.4 kB / 0.8276 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5658, allocations: 1.062 kB / 0.8276 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.566, allocations: 58.98 kB / 0.8277 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.5662, allocations: 19.03 kB / 0.8277 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.5668, allocations: 227.9 kB / 0.8279 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.5671, allocations: 0.7036 MB / 0.8286 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.617e-05/0.5672, allocations: 15.56 kB / 0.8286 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.5673, allocations: 15.56 kB / 0.8286 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.5673, allocations: 0 / 0.8286 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.004639/0.5719, allocations: 1.456 MB / 0.8301 GB, free: 13.51 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.489984305000689]