Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.751/0.751, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 180.6 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 394.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008529/0.000853, allocations: 105.7 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003977, allocations: 12 kB / 0.5423 GB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 74.54 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.4443, allocations: 102.9 MB / 0.7156 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.4446, allocations: 75.95 kB / 0.7157 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006128/0.4507, allocations: 1.926 MB / 0.7176 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4508, allocations: 3.938 kB / 0.7176 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4508, allocations: 0 / 0.7176 GB, free: 13.04 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006853/0.4515, allocations: 486.4 kB / 0.718 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4515, allocations: 12.03 kB / 0.718 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.4516, allocations: 8.844 kB / 0.718 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4518, allocations: 200.1 kB / 0.7182 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4519, allocations: 4.375 kB / 0.7182 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4519, allocations: 8.375 kB / 0.7183 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.4523, allocations: 149.1 kB / 0.7184 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4523, allocations: 192 / 0.7184 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.4523, allocations: 7.938 kB / 0.7184 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4523, allocations: 0 / 0.7184 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.4527, allocations: 135.9 kB / 0.7185 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.4534, allocations: 364.6 kB / 0.7189 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.4538, allocations: 154.4 kB / 0.719 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.4541, allocations: 108.9 kB / 0.7191 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.4541, allocations: 4 kB / 0.7191 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.4544, allocations: 147.3 kB / 0.7193 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.4544, allocations: 0 / 0.7193 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0008454/0.4553, allocations: 351.1 kB / 0.7196 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.4553, allocations: 93.09 kB / 0.7197 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4555, allocations: 135 kB / 0.7198 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4555, allocations: 29.7 kB / 0.7199 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.4556, allocations: 104 kB / 0.72 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.4556, allocations: 31.55 kB / 0.72 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.4557, allocations: 7.938 kB / 0.72 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4558, allocations: 327.1 kB / 0.7203 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.456, allocations: 95.86 kB / 0.7204 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.4563, allocations: 99.88 kB / 0.7205 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.4567, allocations: 273.8 kB / 0.7208 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4568, allocations: 0 / 0.7208 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005837/0.4573, allocations: 316.9 kB / 0.7211 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.4574, allocations: 71.39 kB / 0.7211 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4574, allocations: 0 / 0.7211 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4575, allocations: 3.984 kB / 0.7211 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.4576, allocations: 19.98 kB / 0.7211 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4576, allocations: 0 / 0.7211 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.4578, allocations: 43.86 kB / 0.7212 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.4578, allocations: 4 kB / 0.7212 GB, free: 9.035 MB / 0.4948 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 0.0001441/0.458, allocations: 167.5 kB / 0.7213 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.458, allocations: 7.906 kB / 0.7214 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.4581, allocations: 16.72 kB / 0.7214 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4581, allocations: 0 / 0.7214 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4581, allocations: 0 / 0.7214 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4581, allocations: 4 kB / 0.7214 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4583, allocations: 209.5 kB / 0.7216 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4583, allocations: 0 / 0.7216 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.4584, allocations: 27.91 kB / 0.7216 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4584, allocations: 0 / 0.7216 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4584, allocations: 8 kB / 0.7216 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4584, allocations: 4.016 kB / 0.7216 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4584, allocations: 3.984 kB / 0.7216 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.459, allocations: 318.5 kB / 0.7219 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.4591, allocations: 88.91 kB / 0.722 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.4591, allocations: 4 kB / 0.722 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4593, allocations: 35.95 kB / 0.722 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4594, allocations: 23.91 kB / 0.7221 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.4594, allocations: 7.984 kB / 0.7221 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.517e-05/0.4595, allocations: 114.7 kB / 0.7222 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4595, allocations: 192 / 0.7222 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002157/0.4597, allocations: 28 kB / 0.7222 GB, free: 7.887 MB / 0.4948 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: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001322/0.4599, allocations: 107 kB / 0.7223 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000643/0.4605, allocations: 370.5 kB / 0.7227 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4605, allocations: 0 / 0.7227 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.4609, allocations: 203.3 kB / 0.7229 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.4611, allocations: 17.7 kB / 0.7229 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.4618, allocations: 323.4 kB / 0.7232 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.4622, allocations: 0.7004 MB / 0.7239 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.453e-05/0.4623, allocations: 11.92 kB / 0.7239 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.4623, allocations: 11.44 kB / 0.7239 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/0.4623, allocations: 7.938 kB / 0.7239 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of Templates: time 0.00374/0.4661, allocations: 1.461 MB / 0.7253 GB, free: 4.594 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)