Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001988/0.001988, allocations: 100.3 kB / 19.72 MB, free: 424 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.002442/0.002442, allocations: 220.2 kB / 23.02 MB, free: 2.965 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 1.732/1.732, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.375/3.375, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00382/0.00382, allocations: 67.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8116, allocations: 180 MB / 1.353 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003318/0.8149, allocations: 1.537 MB / 1.354 GB, free: 92 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.8163, allocations: 0.6156 MB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.8164, allocations: 7.938 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.8165, allocations: 11.86 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.8165, allocations: 7.875 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.817, allocations: 107.7 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.8172, allocations: 107.6 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.8173, allocations: 16.23 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.8175, allocations: 51.78 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.8176, allocations: 43.81 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.8176, allocations: 8 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.8178, allocations: 87.91 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.8178, allocations: 23.92 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.8179, allocations: 31.8 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.8182, allocations: 158.1 kB / 1.356 GB, free: 14.82 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8182, allocations: 0 / 1.356 GB, free: 14.82 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8182, allocations: 0 / 1.356 GB, free: 14.82 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8182, allocations: 0 / 1.356 GB, free: 14.82 MB / 1.042 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.0008463/0.819, allocations: 383.5 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8191, allocations: 12.92 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.8193, allocations: 28.86 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.8196, allocations: 150.2 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.8196, allocations: 4.375 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.8196, allocations: 384 / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.8199, allocations: 113.9 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.82, allocations: 3.984 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.82, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.82, allocations: 4 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.8203, allocations: 91.91 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.821, allocations: 280.3 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.8213, allocations: 90.52 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.8215, allocations: 52.88 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.8215, allocations: 3.984 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.8218, allocations: 123.2 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.8218, allocations: 3.938 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0006906/0.8225, allocations: 205.5 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.8226, allocations: 55.41 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.8227, allocations: 144 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.8228, allocations: 33.7 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.8229, allocations: 104.1 kB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.8229, allocations: 27.75 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.823, allocations: 25.7 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.8231, allocations: 330.8 kB / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.8234, allocations: 77.66 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.8236, allocations: 85.66 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.824, allocations: 150.5 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.824, allocations: 0 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005148/0.8245, allocations: 228.9 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.8245, allocations: 33.69 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8246, allocations: 0 / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.8246, allocations: 0 / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.8247, allocations: 23.98 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8247, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.8249, allocations: 27.91 kB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.8249, allocations: 7.938 kB / 1.358 GB, free: 11.75 MB / 1.042 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.0001268/0.825, allocations: 122.4 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.825, allocations: 11.94 kB / 1.359 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.8251, allocations: 8.719 kB / 1.359 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.8251, allocations: 4 kB / 1.359 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8251, allocations: 0 / 1.359 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8251, allocations: 4 kB / 1.359 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.8253, allocations: 145.2 kB / 1.359 GB, free: 11.42 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8253, allocations: 0 / 1.359 GB, free: 11.42 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.8254, allocations: 12.45 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8254, allocations: 4 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.8254, allocations: 3.984 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8254, allocations: 3.938 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8254, allocations: 0 / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.8259, allocations: 192.8 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.8259, allocations: 11.89 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.826, allocations: 4 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.8261, allocations: 11.98 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.8262, allocations: 19.95 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.8262, allocations: 0 / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.808e-05/0.8263, allocations: 115.8 kB / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8263, allocations: 0 / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002689/0.8265, allocations: 36 kB / 1.359 GB, free: 11 MB / 1.042 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.0002035/0.8267, allocations: 119.2 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.8273, allocations: 212.9 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8273, allocations: 0 / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.8275, allocations: 55.95 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.8277, allocations: 19.92 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.8283, allocations: 228.4 kB / 1.36 GB, free: 10.32 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.728e-05/0.8284, allocations: 85.31 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.277e-05/0.8285, allocations: 23.75 kB / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.8286, allocations: 19.42 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/0.8286, allocations: 0 / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of Templates: time 0.005302/0.8339, allocations: 1.546 MB / 1.361 GB, free: 8.656 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.158049613237381]