Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 93.59 kB / 16.66 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009718/0.0009719, allocations: 176.7 kB / 17.57 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7913/0.7913, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004749, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4537, allocations: 77.51 MB / 0.5606 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001703/0.4554, allocations: 1.254 MB / 0.5618 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.4564, allocations: 0.5746 MB / 0.5624 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.4565, allocations: 2.25 kB / 0.5624 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.362e-05/0.4566, allocations: 5.953 kB / 0.5624 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.4567, allocations: 21.84 kB / 0.5624 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.457, allocations: 60.53 kB / 0.5624 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.4571, allocations: 98.58 kB / 0.5625 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.4573, allocations: 13.94 kB / 0.5625 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4574, allocations: 48.17 kB / 0.5626 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.4575, allocations: 43.17 kB / 0.5626 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.4575, allocations: 5.156 kB / 0.5626 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.4576, allocations: 53.19 kB / 0.5627 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.4577, allocations: 16.3 kB / 0.5627 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.4578, allocations: 63.81 kB / 0.5628 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.4579, allocations: 88.17 kB / 0.5629 GB, free: 34.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.458, allocations: 1.969 kB / 0.5629 GB, free: 34.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.458, allocations: 4.438 kB / 0.5629 GB, free: 34.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.458, allocations: 0 / 0.5629 GB, free: 34.86 MB / 446.1 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.0007559/0.4587, allocations: 449.1 kB / 0.5633 GB, free: 34.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4588, allocations: 14.55 kB / 0.5633 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4588, allocations: 9.469 kB / 0.5633 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.459, allocations: 195 kB / 0.5635 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.459, allocations: 1.75 kB / 0.5635 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.4591, allocations: 8.844 kB / 0.5635 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.4594, allocations: 122.7 kB / 0.5636 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4594, allocations: 1.125 kB / 0.5636 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4594, allocations: 8.594 kB / 0.5636 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.4595, allocations: 4.75 kB / 0.5636 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.4598, allocations: 104.6 kB / 0.5637 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.4605, allocations: 361.6 kB / 0.5641 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.4609, allocations: 108.8 kB / 0.5642 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.4611, allocations: 70.5 kB / 0.5643 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4611, allocations: 4.594 kB / 0.5643 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.4615, allocations: 121.7 kB / 0.5644 GB, free: 33.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.4615, allocations: 0.5312 kB / 0.5644 GB, free: 33.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007166/0.4622, allocations: 237.2 kB / 0.5646 GB, free: 33.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.4622, allocations: 54.22 kB / 0.5646 GB, free: 33.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4623, allocations: 150.6 kB / 0.5648 GB, free: 33.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4624, allocations: 31.55 kB / 0.5648 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.4624, allocations: 95.44 kB / 0.5649 GB, free: 33.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4625, allocations: 29.88 kB / 0.5649 GB, free: 33.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.4625, allocations: 19.42 kB / 0.565 GB, free: 33.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.4626, allocations: 325.3 kB / 0.5653 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.4628, allocations: 72.19 kB / 0.5653 GB, free: 32.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.463, allocations: 64 kB / 0.5654 GB, free: 32.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.4634, allocations: 170 kB / 0.5656 GB, free: 32.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4634, allocations: 1.25 kB / 0.5656 GB, free: 32.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004994/0.4639, allocations: 213.3 kB / 0.5658 GB, free: 32.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.464, allocations: 38.97 kB / 0.5658 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.464, allocations: 480 / 0.5658 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.464, allocations: 2.609 kB / 0.5658 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4642, allocations: 24.02 kB / 0.5658 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4642, allocations: 1.297 kB / 0.5658 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.4644, allocations: 28.52 kB / 0.5659 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4644, allocations: 11.16 kB / 0.5659 GB, free: 32.75 MB / 446.1 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 8.862e-05/0.4645, allocations: 122.6 kB / 0.566 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.4645, allocations: 12.5 kB / 0.566 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.4646, allocations: 17.39 kB / 0.566 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.4646, allocations: 5.719 kB / 0.566 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4646, allocations: 0 / 0.566 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4646, allocations: 1.562 kB / 0.566 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.4648, allocations: 202.5 kB / 0.5662 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4648, allocations: 2.062 kB / 0.5662 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.4649, allocations: 22.92 kB / 0.5662 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4649, allocations: 1.031 kB / 0.5662 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4649, allocations: 6.453 kB / 0.5662 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4649, allocations: 0 / 0.5662 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4649, allocations: 2.688 kB / 0.5662 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.4654, allocations: 206.6 kB / 0.5664 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.4655, allocations: 85 kB / 0.5665 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.4655, allocations: 1.594 kB / 0.5665 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.4656, allocations: 20.66 kB / 0.5665 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.4657, allocations: 15.98 kB / 0.5666 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4657, allocations: 6.828 kB / 0.5666 GB, free: 32.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.4658, allocations: 108.1 kB / 0.5667 GB, free: 32.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4658, allocations: 0 / 0.5667 GB, free: 32.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.4661, allocations: 38.25 kB / 0.5667 GB, free: 32.11 MB / 446.1 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.000159/0.4663, allocations: 117.4 kB / 0.5668 GB, free: 32.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.4668, allocations: 201.2 kB / 0.567 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4668, allocations: 3.938 kB / 0.567 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.467, allocations: 71.69 kB / 0.5671 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.4673, allocations: 13.3 kB / 0.5671 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.4679, allocations: 302.8 kB / 0.5674 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.4681, allocations: 0.7003 MB / 0.5681 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.4681, allocations: 13.81 kB / 0.5681 GB, free: 30.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4681, allocations: 0 / 0.5681 GB, free: 30.97 MB / 446.1 MB Notification: Performance of Templates: time 0.00425/0.4724, allocations: 1.508 MB / 0.5696 GB, free: 30.89 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)