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.001278/0.001278, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001174/0.001174, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9291/0.9291, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.001636/0.001636, allocations: 241 kB / 260.5 MB, free: 12.73 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 0.7379/0.7379, allocations: 138.4 MB / 402.2 MB, free: 0.4961 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 2.084e-06/2.084e-06, allocations: 1.922 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.759e-06/1.184e-05, allocations: 3.844 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.00196/0.001972, allocations: 1.641 MB / 463.9 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.002875, allocations: 0.64 MB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.002935, allocations: 2.281 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/0.003024, allocations: 15.91 kB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.003073, allocations: 20.69 kB / 464.6 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.003425, allocations: 97.84 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003567, allocations: 100.9 kB / 464.8 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.003646, allocations: 24.88 kB / 464.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.003797, allocations: 65.36 kB / 464.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.003864, allocations: 38.48 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.003882, allocations: 7.438 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.004033, allocations: 109.7 kB / 465.1 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.004068, allocations: 17.69 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.004103, allocations: 27.81 kB / 465.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.004285, allocations: 145.4 kB / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004287, allocations: 1.469 kB / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004288, allocations: 0 / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.004291, allocations: 0 / 465.2 MB, free: 15.17 MB / 426.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.0004147/0.004706, allocations: 358 kB / 465.6 MB, free: 14.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.004733, allocations: 11.72 kB / 465.6 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.004882, allocations: 30.27 kB / 465.6 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.005013, allocations: 136.4 kB / 465.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.005021, allocations: 5.438 kB / 465.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.005033, allocations: 7.625 kB / 465.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.005168, allocations: 92.41 kB / 465.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.005174, allocations: 1.75 kB / 465.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.005182, allocations: 3.266 kB / 465.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.005201, allocations: 9.641 kB / 465.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.005238, allocations: 17.19 kB / 465.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.005531, allocations: 198.1 kB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.005598, allocations: 72.25 kB / 466.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.005624, allocations: 17.52 kB / 466.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.005635, allocations: 1.25 kB / 466.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.005739, allocations: 89.22 kB / 466.3 MB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.00574, allocations: 1.094 kB / 466.3 MB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001323/0.005873, allocations: 70.11 kB / 466.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.0059, allocations: 55.78 kB / 466.4 MB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.005972, allocations: 143.6 kB / 466.5 MB, free: 14.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005985, allocations: 27.27 kB / 466.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.006024, allocations: 98.14 kB / 466.7 MB, free: 14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.00604, allocations: 24.3 kB / 466.7 MB, free: 13.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.006082, allocations: 29.73 kB / 466.7 MB, free: 13.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.006155, allocations: 321.6 kB / 467 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.006191, allocations: 39.94 kB / 467.1 MB, free: 13.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.00622, allocations: 38.39 kB / 467.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.006284, allocations: 77.73 kB / 467.2 MB, free: 13.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.006286, allocations: 0.6875 kB / 467.2 MB, free: 13.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001075/0.006393, allocations: 127.9 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.006416, allocations: 34.38 kB / 467.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.00642, allocations: 0 / 467.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.006429, allocations: 1.328 kB / 467.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.006501, allocations: 25.44 kB / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.006503, allocations: 0 / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.006558, allocations: 20.28 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.006566, allocations: 6.469 kB / 467.4 MB, free: 13.36 MB / 426.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 6.002e-05/0.006626, allocations: 121.1 kB / 467.5 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.006639, allocations: 10 kB / 467.5 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.006662, allocations: 16.83 kB / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.006671, allocations: 5.906 kB / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006674, allocations: 0.5625 kB / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006676, allocations: 0 / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.884e-05/0.006755, allocations: 89.84 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.006757, allocations: 1.797 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.006793, allocations: 16.61 kB / 467.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.006796, allocations: 6.156 kB / 467.6 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.006803, allocations: 4 kB / 467.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006804, allocations: 2.312 kB / 467.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006804, allocations: 0 / 467.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.579e-05/0.00689, allocations: 91.62 kB / 467.7 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.0069, allocations: 11.94 kB / 467.8 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.006916, allocations: 9.062 kB / 467.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.006957, allocations: 11.98 kB / 467.8 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.006992, allocations: 9.047 kB / 467.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.006999, allocations: 4 kB / 467.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.007023, allocations: 33.75 kB / 467.8 MB, free: 12.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007023, allocations: 4.5 kB / 467.8 MB, free: 12.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.007169, allocations: 39.89 kB / 467.9 MB, free: 12.85 MB / 426.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 9.578e-05/0.007265, allocations: 101.9 kB / 468 MB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.007387, allocations: 127 kB / 468.1 MB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.007391, allocations: 4.75 kB / 468.1 MB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.007429, allocations: 28.77 kB / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.277e-05/0.007521, allocations: 18.03 kB / 468.1 MB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.00793, allocations: 220.6 kB / 468.4 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.043e-05/0.00796, allocations: 64.25 kB / 468.4 MB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.007999, allocations: 7 kB / 468.4 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.008061, allocations: 59.36 kB / 468.5 MB, free: 12.16 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008062, allocations: 4 kB / 468.5 MB, free: 12.16 MB / 426.7 MB Notification: Performance of Templates: time 0.002793/0.01086, allocations: 1.488 MB / 470 MB, free: 10.77 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.31298046419397]