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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7257/0.7257, allocations: 127.4 MB / 134.9 MB, free: 3.457 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.001105/0.001105, allocations: 180.2 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0007529/0.0007529, allocations: 87.52 kB / 476.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.512e-05/1.524e-05, allocations: 3 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 76.77 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.2673, allocations: 103.2 MB / 0.7224 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/0.2675, allocations: 79.95 kB / 0.7224 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005745/0.2732, allocations: 1.895 MB / 0.7243 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2733, allocations: 0 / 0.7243 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2733, allocations: 4 kB / 0.7243 GB, free: 1.695 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.0005717/0.2739, allocations: 465.6 kB / 0.7247 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2739, allocations: 12.03 kB / 0.7247 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.274, allocations: 11.86 kB / 0.7247 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.2742, allocations: 198.9 kB / 0.7249 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2742, allocations: 0 / 0.7249 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.2742, allocations: 12 kB / 0.725 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001426/0.2744, allocations: 55.97 kB / 0.725 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.2746, allocations: 101.6 kB / 0.7251 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2746, allocations: 3.953 kB / 0.7251 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2746, allocations: 4 kB / 0.7251 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2746, allocations: 0 / 0.7251 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.2752, allocations: 329.3 kB / 0.7254 GB, free: 396 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.2753, allocations: 98.55 kB / 0.7255 GB, free: 288 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.2754, allocations: 72.92 kB / 0.7256 GB, free: 212 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.2755, allocations: 3.953 kB / 0.7256 GB, free: 208 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.2756, allocations: 107.4 kB / 0.7257 GB, free: 88 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.2756, allocations: 0 / 0.7257 GB, free: 88 kB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002917/0.2759, allocations: 145.4 kB / 0.7258 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.276, allocations: 93.09 kB / 0.7259 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.2761, allocations: 130.3 kB / 0.726 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2761, allocations: 29.7 kB / 0.7261 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.2762, allocations: 100 kB / 0.7262 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.2762, allocations: 31.5 kB / 0.7262 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.2763, allocations: 0 / 0.7262 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2764, allocations: 326.8 kB / 0.7265 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.2765, allocations: 54.12 kB / 0.7266 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.2765, allocations: 54.48 kB / 0.7266 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/0.2766, allocations: 43.97 kB / 0.7267 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2767, allocations: 4 kB / 0.7267 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002489/0.2769, allocations: 169.6 kB / 0.7268 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.277, allocations: 73.27 kB / 0.7269 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.277, allocations: 0 / 0.7269 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.277, allocations: 0 / 0.7269 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2772, allocations: 23.97 kB / 0.7269 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2772, allocations: 4 kB / 0.7269 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.2774, allocations: 39.86 kB / 0.727 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.2774, allocations: 4 kB / 0.727 GB, free: 14.73 MB / 0.5105 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 () * 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.0001154/0.2775, allocations: 146.7 kB / 0.7271 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.2776, allocations: 11.86 kB / 0.7271 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.2776, allocations: 12.62 kB / 0.7271 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2776, allocations: 0 / 0.7271 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2776, allocations: 0 / 0.7271 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2776, allocations: 4 kB / 0.7271 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.2778, allocations: 182.1 kB / 0.7273 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2778, allocations: 4 kB / 0.7273 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.2779, allocations: 23.91 kB / 0.7273 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.2779, allocations: 4 kB / 0.7273 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2779, allocations: 3.938 kB / 0.7273 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.278, allocations: 3.953 kB / 0.7273 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.278, allocations: 0 / 0.7273 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.2782, allocations: 201 kB / 0.7275 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.2783, allocations: 88.95 kB / 0.7276 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.2783, allocations: 4 kB / 0.7276 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2785, allocations: 35.95 kB / 0.7277 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2786, allocations: 23.92 kB / 0.7277 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.2787, allocations: 15.92 kB / 0.7277 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.2787, allocations: 101.9 kB / 0.7278 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2787, allocations: 0 / 0.7278 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002563/0.279, allocations: 24 kB / 0.7278 GB, free: 13.77 MB / 0.5105 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) * 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.0001249/0.2791, allocations: 103.2 kB / 0.7279 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.2795, allocations: 274.8 kB / 0.7282 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2795, allocations: 0 / 0.7282 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.2797, allocations: 167.3 kB / 0.7283 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.2798, allocations: 11.98 kB / 0.7283 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.2803, allocations: 200.6 kB / 0.7285 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2806, allocations: 0.7041 MB / 0.7292 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.919e-05/0.2806, allocations: 11.98 kB / 0.7292 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.2807, allocations: 15.42 kB / 0.7292 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.2807, allocations: 0 / 0.7292 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.003535/0.2842, allocations: 1.408 MB / 0.7306 GB, free: 10.8 MB / 0.5105 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)