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/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7305/0.7305, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009492/0.0009493, allocations: 171.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 100.5 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 277 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.066e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3442, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.4506, allocations: 110.2 MB / 0.8718 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.4509, allocations: 79.77 kB / 0.8719 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.4612, allocations: 3.543 MB / 0.8754 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4613, allocations: 0 / 0.8754 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4613, allocations: 4 kB / 0.8754 GB, free: 10.77 MB / 0.5417 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.0006006/0.4619, allocations: 433.4 kB / 0.8758 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.462, allocations: 12.02 kB / 0.8758 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.462, allocations: 11.91 kB / 0.8758 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.4622, allocations: 194.8 kB / 0.876 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4623, allocations: 7.938 kB / 0.876 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.4623, allocations: 8 kB / 0.876 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4625, allocations: 77.64 kB / 0.8761 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4625, allocations: 0 / 0.8761 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4625, allocations: 4 kB / 0.8761 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4625, allocations: 4 kB / 0.8761 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.4626, allocations: 40 kB / 0.8761 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.4632, allocations: 364.6 kB / 0.8765 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.4634, allocations: 62.56 kB / 0.8765 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.4634, allocations: 32.91 kB / 0.8766 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.4635, allocations: 4 kB / 0.8766 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.4636, allocations: 103.2 kB / 0.8767 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4637, allocations: 0 / 0.8767 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002377/0.4639, allocations: 101.5 kB / 0.8768 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.4639, allocations: 59.41 kB / 0.8768 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4641, allocations: 123.7 kB / 0.8769 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4641, allocations: 29.7 kB / 0.877 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.4642, allocations: 116 kB / 0.8771 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.4642, allocations: 23.62 kB / 0.8771 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.4642, allocations: 0 / 0.8771 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4643, allocations: 322.8 kB / 0.8774 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.4644, allocations: 31.98 kB / 0.8774 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.4645, allocations: 36.05 kB / 0.8775 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.4646, allocations: 65.67 kB / 0.8775 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4646, allocations: 0 / 0.8775 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002323/0.4648, allocations: 147.3 kB / 0.8777 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.4648, allocations: 33.69 kB / 0.8777 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4649, allocations: 0 / 0.8777 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4649, allocations: 3.953 kB / 0.8777 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.465, allocations: 27.92 kB / 0.8777 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4651, allocations: 0 / 0.8777 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.4652, allocations: 27.91 kB / 0.8778 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.4652, allocations: 8 kB / 0.8778 GB, free: 8.074 MB / 0.5417 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: 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.509e-05/0.4653, allocations: 105 kB / 0.8779 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.4653, allocations: 7.906 kB / 0.8779 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.4656, allocations: 126.3 kB / 0.878 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4656, allocations: 4 kB / 0.878 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4656, allocations: 7.891 kB / 0.878 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4656, allocations: 3.938 kB / 0.878 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.4658, allocations: 209.6 kB / 0.8782 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4658, allocations: 0 / 0.8782 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.4659, allocations: 27.97 kB / 0.8783 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.466, allocations: 0 / 0.8783 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.466, allocations: 0 / 0.8783 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.466, allocations: 0 / 0.8783 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.466, allocations: 4 kB / 0.8783 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.4662, allocations: 141.5 kB / 0.8784 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.4663, allocations: 81.02 kB / 0.8785 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.4663, allocations: 4 kB / 0.8785 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.4664, allocations: 23.97 kB / 0.8785 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.4665, allocations: 7.984 kB / 0.8785 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4665, allocations: 11.98 kB / 0.8785 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.4666, allocations: 104.3 kB / 0.8786 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4666, allocations: 0 / 0.8786 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000241/0.4668, allocations: 51.92 kB / 0.8787 GB, free: 7.074 MB / 0.5417 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: 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.0001703/0.467, allocations: 115.2 kB / 0.8788 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4673, allocations: 169 kB / 0.8789 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.4673, allocations: 0 / 0.8789 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.4674, allocations: 77.62 kB / 0.879 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.4675, allocations: 9.719 kB / 0.879 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.4679, allocations: 141.2 kB / 0.8792 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.4682, allocations: 0.7004 MB / 0.8798 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.96e-05/0.4683, allocations: 19.77 kB / 0.8799 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.4683, allocations: 11.44 kB / 0.8799 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.4683, allocations: 0 / 0.8799 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of Templates: time 0.003541/0.4719, allocations: 1.31 MB / 0.8811 GB, free: 4.465 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)