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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 288.3 kB / 304.8 MB, free: 3.562 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 180.9 MB / 0.5282 GB, free: 1.887 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 96.27 kB / 0.7283 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4312, allocations: 94.17 MB / 0.8202 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002691/0.4338, allocations: 1.563 MB / 0.8218 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009873/0.4348, allocations: 0.5802 MB / 0.8223 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.4349, allocations: 5.312 kB / 0.8223 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.435, allocations: 7.938 kB / 0.8224 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.435, allocations: 22.06 kB / 0.8224 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.4354, allocations: 94.98 kB / 0.8225 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.4356, allocations: 94.88 kB / 0.8226 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.4357, allocations: 13.7 kB / 0.8226 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.4358, allocations: 52.39 kB / 0.8226 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4359, allocations: 46.48 kB / 0.8227 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.4359, allocations: 6.688 kB / 0.8227 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.4361, allocations: 89.12 kB / 0.8228 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.4361, allocations: 23.94 kB / 0.8228 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.4362, allocations: 41.05 kB / 0.8228 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.4364, allocations: 140.4 kB / 0.823 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4364, allocations: 0 / 0.823 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4364, allocations: 1.406 kB / 0.823 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4364, allocations: 0 / 0.823 GB, free: 2.582 MB / 0.5606 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.000904/0.4374, allocations: 455.9 kB / 0.8234 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4374, allocations: 9.625 kB / 0.8234 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.4374, allocations: 9.703 kB / 0.8234 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.4377, allocations: 197 kB / 0.8236 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.4377, allocations: 6.562 kB / 0.8236 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4377, allocations: 8.938 kB / 0.8236 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.438, allocations: 107.3 kB / 0.8237 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4381, allocations: 0 / 0.8237 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4381, allocations: 1.062 kB / 0.8237 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4381, allocations: 3.406 kB / 0.8237 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.4385, allocations: 86.14 kB / 0.8238 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.4393, allocations: 356.5 kB / 0.8241 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.4396, allocations: 93.06 kB / 0.8242 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4398, allocations: 54.31 kB / 0.8243 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.4398, allocations: 4.188 kB / 0.8243 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003735/0.4402, allocations: 122.2 kB / 0.8244 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4402, allocations: 0 / 0.8244 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0007329/0.4409, allocations: 203 kB / 0.8246 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4409, allocations: 56.47 kB / 0.8246 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4411, allocations: 145.5 kB / 0.8248 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4411, allocations: 30.86 kB / 0.8248 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.4412, allocations: 100.7 kB / 0.8249 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.4412, allocations: 27.19 kB / 0.8249 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.4413, allocations: 25.55 kB / 0.825 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4415, allocations: 333.9 kB / 0.8253 GB, free: 456 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4417, allocations: 52.48 kB / 0.8253 GB, free: 436 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.4419, allocations: 56.77 kB / 0.8254 GB, free: 412 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.4422, allocations: 143.9 kB / 0.8255 GB, free: 324 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4422, allocations: 4 kB / 0.8255 GB, free: 320 kB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004936/0.4427, allocations: 199.8 kB / 0.8257 GB, free: 192 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.4428, allocations: 36.56 kB / 0.8257 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4428, allocations: 3.938 kB / 0.8258 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4428, allocations: 1.875 kB / 0.8258 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.4429, allocations: 15.33 kB / 0.8258 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4429, allocations: 1.344 kB / 0.8258 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.4431, allocations: 21.34 kB / 0.8258 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.4431, allocations: 6.562 kB / 0.8258 GB, free: 132 kB / 0.5606 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.4432, allocations: 120.7 kB / 0.8259 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.4433, allocations: 15.94 kB / 0.8259 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.4433, allocations: 15.3 kB / 0.8259 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.4433, allocations: 4.375 kB / 0.8259 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4433, allocations: 0 / 0.8259 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4433, allocations: 3.938 kB / 0.8259 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.4436, allocations: 215.9 kB / 0.8262 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4436, allocations: 0 / 0.8262 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4437, allocations: 14.73 kB / 0.8262 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4437, allocations: 1.469 kB / 0.8262 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.4437, allocations: 5.266 kB / 0.8262 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4437, allocations: 80 / 0.8262 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4437, allocations: 3.984 kB / 0.8262 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.4442, allocations: 189.8 kB / 0.8264 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.4443, allocations: 83.81 kB / 0.8264 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4443, allocations: 5.375 kB / 0.8264 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.4444, allocations: 12.23 kB / 0.8265 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.4445, allocations: 17.47 kB / 0.8265 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4445, allocations: 2.75 kB / 0.8265 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.241e-05/0.4446, allocations: 110.3 kB / 0.8266 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.4446, allocations: 0 / 0.8266 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002723/0.4449, allocations: 40.92 kB / 0.8266 GB, free: 15.38 MB / 0.5762 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: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001954/0.4451, allocations: 114 kB / 0.8267 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005163/0.4456, allocations: 178.9 kB / 0.8269 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4456, allocations: 0 / 0.8269 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.4458, allocations: 63.7 kB / 0.827 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.4461, allocations: 11.89 kB / 0.827 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.4467, allocations: 235.1 kB / 0.8272 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.4471, allocations: 0.7101 MB / 0.8279 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.718e-05/0.4472, allocations: 12.23 kB / 0.8279 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.4473, allocations: 11.56 kB / 0.8279 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.4473, allocations: 0 / 0.8279 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.004808/0.4521, allocations: 1.45 MB / 0.8293 GB, free: 13.49 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.930725674144924]