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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002572/0.002572, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003197/0.003197, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003339/0.003339, allocations: 241.1 kB / 259.8 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.207/1.207, allocations: 138.4 MB / 454.7 MB, free: 1.523 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.794e-06/1.794e-06, allocations: 0 / 0.5543 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.827e-05/4.007e-05, allocations: 9.406 kB / 0.5543 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.003487/0.003527, allocations: 1.564 MB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.00498, allocations: 0.6232 MB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.005057, allocations: 0 / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.005191, allocations: 15.86 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.005265, allocations: 23.8 kB / 0.5565 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.005827, allocations: 103.6 kB / 0.5566 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.006044, allocations: 107.6 kB / 0.5567 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.006155, allocations: 8.234 kB / 0.5567 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.006391, allocations: 71.8 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.006486, allocations: 31.95 kB / 0.5568 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.006515, allocations: 12 kB / 0.5568 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.006709, allocations: 99.72 kB / 0.5569 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.006776, allocations: 19.91 kB / 0.5569 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.006838, allocations: 27.92 kB / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.00717, allocations: 163.6 kB / 0.5571 GB, free: 14.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.007176, allocations: 0 / 0.5571 GB, free: 14.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007177, allocations: 0 / 0.5571 GB, free: 14.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.007182, allocations: 0 / 0.5571 GB, free: 14.08 MB / 490.7 MB 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.001021/0.008203, allocations: 485.4 kB / 0.5575 GB, free: 13.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.008249, allocations: 12.69 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.008557, allocations: 36.83 kB / 0.5576 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.008806, allocations: 144.4 kB / 0.5577 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.008823, allocations: 8.312 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.008843, allocations: 8.375 kB / 0.5577 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.009119, allocations: 78.2 kB / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.009131, allocations: 4.172 kB / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.009144, allocations: 384 / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.009176, allocations: 15.88 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.009423, allocations: 59.95 kB / 0.5579 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.01013, allocations: 323.7 kB / 0.5582 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.01041, allocations: 74.97 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.01056, allocations: 43.66 kB / 0.5583 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.01058, allocations: 0 / 0.5583 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.01086, allocations: 101 kB / 0.5584 GB, free: 12.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.01086, allocations: 4 kB / 0.5584 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005824/0.01144, allocations: 153.5 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.0115, allocations: 59.39 kB / 0.5586 GB, free: 12.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.01171, allocations: 201.9 kB / 0.5588 GB, free: 12.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.01174, allocations: 33.7 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01186, allocations: 146.8 kB / 0.559 GB, free: 11.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.0119, allocations: 35.73 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.01198, allocations: 31.38 kB / 0.559 GB, free: 11.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.01225, allocations: 0.504 MB / 0.5595 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.01244, allocations: 65.67 kB / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.0126, allocations: 73.55 kB / 0.5597 GB, free: 11.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.01292, allocations: 109.4 kB / 0.5598 GB, free: 11.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01293, allocations: 3.938 kB / 0.5598 GB, free: 11.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000437/0.01336, allocations: 189 kB / 0.56 GB, free: 10.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.01341, allocations: 29.7 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01342, allocations: 4 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01343, allocations: 0 / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01358, allocations: 23.92 kB / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.0136, allocations: 0 / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.01373, allocations: 15.98 kB / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.01374, allocations: 4 kB / 0.56 GB, free: 10.8 MB / 490.7 MB 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.0001451/0.01389, allocations: 164.5 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.01392, allocations: 15.89 kB / 0.5602 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.01396, allocations: 12.78 kB / 0.5602 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.01398, allocations: 8 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01399, allocations: 0 / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01399, allocations: 0 / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.01421, allocations: 164.5 kB / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01421, allocations: 0 / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.01431, allocations: 11.98 kB / 0.5604 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01431, allocations: 0 / 0.5604 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.01433, allocations: 4 kB / 0.5604 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01433, allocations: 0 / 0.5604 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01433, allocations: 3.938 kB / 0.5604 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.01474, allocations: 164.3 kB / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.01477, allocations: 19.83 kB / 0.5606 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01479, allocations: 0 / 0.5606 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.0149, allocations: 11.98 kB / 0.5606 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.01497, allocations: 15.97 kB / 0.5606 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01498, allocations: 0 / 0.5606 GB, free: 10.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.01511, allocations: 161.7 kB / 0.5608 GB, free: 9.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01511, allocations: 0 / 0.5608 GB, free: 9.992 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.01538, allocations: 39.94 kB / 0.5608 GB, free: 9.953 MB / 490.7 MB 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.0002386/0.01562, allocations: 115.2 kB / 0.5609 GB, free: 9.828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.01608, allocations: 180.7 kB / 0.5611 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01608, allocations: 0 / 0.5611 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.01626, allocations: 59.58 kB / 0.5611 GB, free: 9.566 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.01653, allocations: 14.5 kB / 0.5611 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.0172, allocations: 222.7 kB / 0.5614 GB, free: 9.305 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.01731, allocations: 86.45 kB / 0.5614 GB, free: 9.199 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.927e-05/0.0174, allocations: 11.98 kB / 0.5615 GB, free: 9.188 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.01746, allocations: 12.5 kB / 0.5615 GB, free: 9.176 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01746, allocations: 0 / 0.5615 GB, free: 9.176 MB / 490.7 MB Notification: Performance of Templates: time 0.006289/0.02375, allocations: 1.504 MB / 0.5629 GB, free: 7.691 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.039840665995143]