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.0006691/0.0006691, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009149/0.001584, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007094/0.0007094, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009134/0.001623, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8662/0.8662, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07458/0.9408, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001267/0.001267, allocations: 241.6 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009402/0.002207, allocations: 463.5 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.7034/0.7034, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06934/0.7728, allocations: 42.39 MB / 426.5 MB, free: 5.957 MB / 410.7 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.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.212e-06/1.212e-06, allocations: 0 / 427.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.362e-05, allocations: 2.312 kB / 427.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001681/0.001694, allocations: 1.638 MB / 429.4 MB, free: 3.016 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.002368, allocations: 0.6386 MB / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.002418, allocations: 4 kB / 430 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.376e-05/0.002472, allocations: 11.86 kB / 430.1 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.002503, allocations: 19.8 kB / 430.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.002757, allocations: 99.62 kB / 430.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.002884, allocations: 103.6 kB / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.00296, allocations: 12.23 kB / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.0031, allocations: 83.72 kB / 430.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.003163, allocations: 39.89 kB / 430.4 MB, free: 2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.00318, allocations: 8 kB / 430.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.003312, allocations: 107.8 kB / 430.5 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.003345, allocations: 11.94 kB / 430.5 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.003377, allocations: 19.94 kB / 430.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.003529, allocations: 119.7 kB / 430.7 MB, free: 1.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.003541, allocations: 0 / 430.7 MB, free: 1.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003542, allocations: 0 / 430.7 MB, free: 1.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.003553, allocations: 0 / 430.7 MB, free: 1.738 MB / 410.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.0004598/0.004013, allocations: 373.7 kB / 431 MB, free: 1.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.00404, allocations: 15.98 kB / 431 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.004211, allocations: 110 kB / 431.1 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.004343, allocations: 145.6 kB / 431.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.00435, allocations: 4.375 kB / 431.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.004361, allocations: 4.375 kB / 431.3 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.004489, allocations: 85.72 kB / 431.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.004495, allocations: 192 / 431.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.004504, allocations: 4.375 kB / 431.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.004524, allocations: 3.938 kB / 431.4 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.004558, allocations: 23.92 kB / 431.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.004827, allocations: 205.8 kB / 431.6 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.004896, allocations: 74.47 kB / 431.7 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.004918, allocations: 16.8 kB / 431.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.004929, allocations: 0 / 431.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.813e-05/0.005027, allocations: 78.12 kB / 431.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.005028, allocations: 4 kB / 431.8 MB, free: 500 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001247/0.005152, allocations: 73.66 kB / 431.9 MB, free: 420 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.005179, allocations: 59.41 kB / 431.9 MB, free: 348 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.005246, allocations: 138.7 kB / 432.1 MB, free: 196 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.005258, allocations: 25.7 kB / 432.1 MB, free: 164 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.005296, allocations: 96.17 kB / 432.2 MB, free: 64 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.005312, allocations: 35.67 kB / 432.2 MB, free: 28 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1617/0.167, allocations: 29.69 kB / 432.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.167, allocations: 320 kB / 432.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.1671, allocations: 40.2 kB / 432.6 MB, free: 1.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.1671, allocations: 38.73 kB / 432.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.1672, allocations: 72.05 kB / 432.7 MB, free: 1.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1672, allocations: 0 / 432.7 MB, free: 1.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001027/0.1673, allocations: 130.8 kB / 432.8 MB, free: 1.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.1673, allocations: 33.47 kB / 432.9 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1673, allocations: 0 / 432.9 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1673, allocations: 0.9688 kB / 432.9 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.1674, allocations: 21.25 kB / 432.9 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.1674, allocations: 0 / 432.9 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.1675, allocations: 14.56 kB / 432.9 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1675, allocations: 3.297 kB / 432.9 MB, free: 1.793 MB / 410.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 5.172e-05/0.1675, allocations: 119.9 kB / 433 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.1676, allocations: 9 kB / 433 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.1676, allocations: 15.77 kB / 433 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.1676, allocations: 7.016 kB / 433 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1676, allocations: 5.375 kB / 433 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1676, allocations: 0.5469 kB / 433 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/0.1677, allocations: 90.77 kB / 433.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1677, allocations: 0.625 kB / 433.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.1677, allocations: 19.45 kB / 433.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.1677, allocations: 12.42 kB / 433.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1677, allocations: 0.6562 kB / 433.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1678, allocations: 3.172 kB / 433.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1678, allocations: 2.672 kB / 433.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1678, allocations: 5.969 kB / 433.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.947e-05/0.1678, allocations: 89.3 kB / 433.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1679, allocations: 3.797 kB / 433.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.1679, allocations: 12.62 kB / 433.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.1679, allocations: 15.92 kB / 433.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.168, allocations: 3.766 kB / 433.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.168, allocations: 32.7 kB / 433.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.168, allocations: 1.312 kB / 433.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.1681, allocations: 38.58 kB / 433.4 MB, free: 1.508 MB / 410.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.0001094/0.1682, allocations: 108.1 kB / 433.5 MB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1683, allocations: 126.9 kB / 433.6 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.1683, allocations: 4.781 kB / 433.6 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.1684, allocations: 24.92 kB / 433.6 MB, free: 1.332 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.1685, allocations: 20.75 kB / 433.7 MB, free: 1.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.1693, allocations: 223.1 kB / 433.9 MB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.224e-05/0.1693, allocations: 67.08 kB / 433.9 MB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.1694, allocations: 7.031 kB / 433.9 MB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.1694, allocations: 64.28 kB / 434 MB, free: 1.074 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1694, allocations: 0 / 434 MB, free: 1.074 MB / 410.7 MB Notification: Performance of Templates: time 0.003053/0.1725, allocations: 1.51 MB / 435.5 MB, free: 1.051 MB / 410.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: 3.220935506746173]