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.819/0.819, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009867/0.0009867, allocations: 168.9 kB / 182.2 MB, free: 9.477 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.42/1.42, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008858/0.0008858, allocations: 88.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001612/0.001612, allocations: 262.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.361e-05/1.37e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3448, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4696, allocations: 109.5 MB / 0.8643 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4698, allocations: 79.83 kB / 0.8644 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01008/0.4799, allocations: 3.521 MB / 0.8678 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4799, allocations: 0 / 0.8678 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.48, allocations: 0 / 0.8678 GB, free: 14.78 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.0005705/0.4805, allocations: 443.9 kB / 0.8682 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.4806, allocations: 8.031 kB / 0.8682 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.4806, allocations: 11.84 kB / 0.8682 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.4808, allocations: 196 kB / 0.8684 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4808, allocations: 0 / 0.8684 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.4809, allocations: 7.938 kB / 0.8684 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001173/0.481, allocations: 43.98 kB / 0.8685 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4811, allocations: 73.59 kB / 0.8686 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.4811, allocations: 3.938 kB / 0.8686 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4812, allocations: 8 kB / 0.8686 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4812, allocations: 0 / 0.8686 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.4817, allocations: 345.1 kB / 0.8689 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.4819, allocations: 58.56 kB / 0.8689 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.4819, allocations: 28.92 kB / 0.869 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.4819, allocations: 4 kB / 0.869 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.4821, allocations: 91.05 kB / 0.8691 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4821, allocations: 0 / 0.8691 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002569/0.4824, allocations: 105.6 kB / 0.8692 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.4824, allocations: 59.39 kB / 0.8692 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.4825, allocations: 125.7 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4825, allocations: 25.7 kB / 0.8694 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.4826, allocations: 104 kB / 0.8695 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.4826, allocations: 27.61 kB / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.4826, allocations: 0 / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.4827, allocations: 322.8 kB / 0.8698 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.4828, allocations: 32 kB / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.4829, allocations: 31.98 kB / 0.8699 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.483, allocations: 35.98 kB / 0.8699 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.483, allocations: 0 / 0.8699 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000205/0.4832, allocations: 117.6 kB / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.4832, allocations: 33.7 kB / 0.87 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4832, allocations: 3.984 kB / 0.87 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.4833, allocations: 0 / 0.87 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.4834, allocations: 23.92 kB / 0.8701 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4834, allocations: 3.953 kB / 0.8701 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.4836, allocations: 28.11 kB / 0.8701 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.4836, allocations: 11.98 kB / 0.8701 GB, free: 12.21 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 6.626e-05/0.4837, allocations: 104.9 kB / 0.8702 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.4837, allocations: 7.906 kB / 0.8702 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.484, allocations: 126.2 kB / 0.8703 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.484, allocations: 7.984 kB / 0.8703 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.484, allocations: 0 / 0.8703 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.484, allocations: 3.953 kB / 0.8703 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.4841, allocations: 178.2 kB / 0.8705 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4842, allocations: 0 / 0.8705 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.4843, allocations: 19.98 kB / 0.8705 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.4843, allocations: 0 / 0.8705 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4843, allocations: 7.984 kB / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4843, allocations: 0 / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4843, allocations: 4 kB / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.4845, allocations: 136.9 kB / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.4846, allocations: 81.02 kB / 0.8708 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.4846, allocations: 8 kB / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4847, allocations: 15.98 kB / 0.8708 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.4848, allocations: 23.91 kB / 0.8708 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4848, allocations: 4 kB / 0.8708 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.4849, allocations: 100.8 kB / 0.8709 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4849, allocations: 0 / 0.8709 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002512/0.4851, allocations: 43.94 kB / 0.8709 GB, free: 11.27 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.0001588/0.4853, allocations: 127.2 kB / 0.8711 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.4855, allocations: 165 kB / 0.8712 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4855, allocations: 0 / 0.8712 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.4856, allocations: 73.88 kB / 0.8713 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.4858, allocations: 8.797 kB / 0.8713 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.4861, allocations: 136.2 kB / 0.8714 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4864, allocations: 0.7041 MB / 0.8721 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.147e-05/0.4865, allocations: 19.77 kB / 0.8721 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.4865, allocations: 11.38 kB / 0.8721 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.4865, allocations: 0 / 0.8721 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of Templates: time 0.003206/0.4897, allocations: 1.22 MB / 0.8733 GB, free: 8.734 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)