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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4763/0.4763, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009139, allocations: 107.2 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.239e-05, allocations: 4 kB / 0.4896 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4041, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.5353, allocations: 103 MB / 0.6608 GB, free: 1.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.5356, allocations: 71.95 kB / 0.6609 GB, free: 1.199 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.5462, allocations: 3.54 MB / 0.6644 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5462, allocations: 4 kB / 0.6644 GB, free: 13.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.5462, allocations: 0 / 0.6644 GB, free: 13.65 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006733/0.5469, allocations: 439.8 kB / 0.6648 GB, free: 13.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.638e-05/0.547, allocations: 15.98 kB / 0.6648 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.5471, allocations: 11.86 kB / 0.6648 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.5473, allocations: 194.8 kB / 0.665 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.5473, allocations: 7.984 kB / 0.665 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.5474, allocations: 4 kB / 0.665 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.5476, allocations: 77.66 kB / 0.6651 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5476, allocations: 0 / 0.6651 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5476, allocations: 7.953 kB / 0.6651 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5476, allocations: 0 / 0.6651 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.5477, allocations: 47.86 kB / 0.6651 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.5485, allocations: 372.7 kB / 0.6655 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.5486, allocations: 50.53 kB / 0.6655 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.5487, allocations: 40.91 kB / 0.6656 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.5488, allocations: 9.484 kB / 0.6656 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.5489, allocations: 91.3 kB / 0.6657 GB, free: 12.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.5489, allocations: 0 / 0.6657 GB, free: 12.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002624/0.5492, allocations: 105.5 kB / 0.6658 GB, free: 12.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.5493, allocations: 51.41 kB / 0.6658 GB, free: 11.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.5494, allocations: 131.9 kB / 0.666 GB, free: 11.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.5494, allocations: 25.7 kB / 0.666 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.5495, allocations: 112.6 kB / 0.6661 GB, free: 11.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.5495, allocations: 23.7 kB / 0.6661 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.5495, allocations: 0 / 0.6661 GB, free: 11.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5496, allocations: 326.8 kB / 0.6664 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.5497, allocations: 32 kB / 0.6665 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.5498, allocations: 36.92 kB / 0.6665 GB, free: 11.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.5499, allocations: 59.55 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5499, allocations: 0 / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002446/0.5502, allocations: 159.3 kB / 0.6667 GB, free: 11.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.5502, allocations: 29.7 kB / 0.6667 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5502, allocations: 8 kB / 0.6667 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5503, allocations: 0 / 0.6667 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.5504, allocations: 19.98 kB / 0.6668 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5504, allocations: 3.984 kB / 0.6668 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.5506, allocations: 34.36 kB / 0.6668 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.5506, allocations: 12 kB / 0.6668 GB, free: 10.93 MB / 490.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/0.5507, allocations: 108.9 kB / 0.6669 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.5507, allocations: 7.906 kB / 0.6669 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.551, allocations: 122.2 kB / 0.667 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.551, allocations: 4 kB / 0.667 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.551, allocations: 0 / 0.667 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.551, allocations: 3.984 kB / 0.667 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.5512, allocations: 197.6 kB / 0.6672 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5512, allocations: 0 / 0.6672 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5514, allocations: 27.97 kB / 0.6673 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5514, allocations: 0 / 0.6673 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5514, allocations: 4 kB / 0.6673 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5514, allocations: 0 / 0.6673 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5514, allocations: 0 / 0.6673 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.5516, allocations: 138.2 kB / 0.6674 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.5517, allocations: 96.91 kB / 0.6675 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.5517, allocations: 0 / 0.6675 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5518, allocations: 23.97 kB / 0.6675 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.5519, allocations: 11.98 kB / 0.6675 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.5519, allocations: 3.984 kB / 0.6675 GB, free: 10.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.552, allocations: 110.4 kB / 0.6676 GB, free: 9.988 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.552, allocations: 2.156 kB / 0.6676 GB, free: 9.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.5523, allocations: 51.91 kB / 0.6677 GB, free: 9.938 MB / 490.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.5525, allocations: 120.8 kB / 0.6678 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.5527, allocations: 165.1 kB / 0.6679 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5527, allocations: 0 / 0.6679 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.5529, allocations: 73.62 kB / 0.668 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.553, allocations: 9.047 kB / 0.668 GB, free: 9.547 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.5534, allocations: 153.1 kB / 0.6682 GB, free: 9.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.5537, allocations: 0.7004 MB / 0.6689 GB, free: 8.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.782e-05/0.5538, allocations: 11.77 kB / 0.6689 GB, free: 8.637 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.5538, allocations: 19.42 kB / 0.6689 GB, free: 8.617 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5539, allocations: 0 / 0.6689 GB, free: 8.617 MB / 490.7 MB Notification: Performance of Templates: time 0.003859/0.5577, allocations: 1.292 MB / 0.6701 GB, free: 7.359 MB / 490.7 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)