Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 108.9 kB / 17.03 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 190.9 kB / 17.97 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.731/0.731, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3273, allocations: 76.14 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002237/0.3296, allocations: 1.533 MB / 0.559 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007376/0.3303, allocations: 0.579 MB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.3304, allocations: 0 / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.008e-05/0.3305, allocations: 11.5 kB / 0.5596 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.3305, allocations: 20.62 kB / 0.5596 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.3309, allocations: 86.98 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.331, allocations: 100.9 kB / 0.5598 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.3311, allocations: 20.5 kB / 0.5598 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.3312, allocations: 48.33 kB / 0.5599 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.3313, allocations: 45.09 kB / 0.5599 GB, free: 35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3313, allocations: 8 kB / 0.5599 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3315, allocations: 92.86 kB / 0.56 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.3315, allocations: 20.27 kB / 0.56 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.3316, allocations: 42.33 kB / 0.5601 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3317, allocations: 138.4 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3318, allocations: 1.25 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3318, allocations: 0 / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3318, allocations: 0.5312 kB / 0.5602 GB, free: 34.89 MB / 446.1 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.0006299/0.3324, allocations: 453.8 kB / 0.5607 GB, free: 34.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.3324, allocations: 10.34 kB / 0.5607 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3325, allocations: 13.47 kB / 0.5607 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3326, allocations: 193.1 kB / 0.5609 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3326, allocations: 3.844 kB / 0.5609 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3327, allocations: 5.172 kB / 0.5609 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3329, allocations: 112.2 kB / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.333, allocations: 0 / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.333, allocations: 0.6094 kB / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.333, allocations: 5.125 kB / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.3333, allocations: 88.17 kB / 0.5611 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.3338, allocations: 357.9 kB / 0.5614 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.3341, allocations: 89.62 kB / 0.5615 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3343, allocations: 61.06 kB / 0.5616 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3343, allocations: 1.438 kB / 0.5616 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.3346, allocations: 114.2 kB / 0.5617 GB, free: 33.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.334e-06/0.3346, allocations: 1.953 kB / 0.5617 GB, free: 33.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005763/0.3352, allocations: 212.6 kB / 0.5619 GB, free: 33.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.3352, allocations: 52.91 kB / 0.5619 GB, free: 33.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.3353, allocations: 141.9 kB / 0.5621 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3353, allocations: 27.67 kB / 0.5621 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.3354, allocations: 103.9 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3354, allocations: 26.41 kB / 0.5622 GB, free: 33.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.3355, allocations: 30.42 kB / 0.5622 GB, free: 33.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.889e-05/0.3355, allocations: 325.5 kB / 0.5625 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3357, allocations: 61.28 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3359, allocations: 58.66 kB / 0.5627 GB, free: 32.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3362, allocations: 149.5 kB / 0.5628 GB, free: 32.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3362, allocations: 0 / 0.5628 GB, free: 32.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004098/0.3366, allocations: 193.8 kB / 0.563 GB, free: 32.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.3366, allocations: 33.17 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3366, allocations: 1.031 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3367, allocations: 1.312 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3368, allocations: 23.45 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3368, allocations: 0.9688 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.337, allocations: 16.64 kB / 0.5631 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.337, allocations: 3.484 kB / 0.5631 GB, free: 32.8 MB / 446.1 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.602e-05/0.3371, allocations: 130.5 kB / 0.5632 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.3371, allocations: 8.688 kB / 0.5632 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3371, allocations: 16.83 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3371, allocations: 5.047 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3371, allocations: 1.906 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3371, allocations: 0.6562 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.3373, allocations: 205.7 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3373, allocations: 2.562 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3374, allocations: 17.66 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3374, allocations: 1.375 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3374, allocations: 2.156 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3374, allocations: 1.156 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3374, allocations: 1.25 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3378, allocations: 187.5 kB / 0.5636 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.3379, allocations: 84.91 kB / 0.5637 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3379, allocations: 5.828 kB / 0.5637 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.338, allocations: 14.64 kB / 0.5637 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3381, allocations: 15.38 kB / 0.5637 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3381, allocations: 8.453 kB / 0.5637 GB, free: 32.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.3382, allocations: 106.1 kB / 0.5638 GB, free: 32.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3382, allocations: 5 kB / 0.5638 GB, free: 32.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.3385, allocations: 50.12 kB / 0.5639 GB, free: 32.13 MB / 446.1 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.0001307/0.3386, allocations: 109.1 kB / 0.564 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.339, allocations: 185.3 kB / 0.5642 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.339, allocations: 1.438 kB / 0.5642 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3392, allocations: 67.28 kB / 0.5642 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.3394, allocations: 15.12 kB / 0.5643 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.3399, allocations: 233.7 kB / 0.5645 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.34, allocations: 0.7004 MB / 0.5652 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.3401, allocations: 11.86 kB / 0.5652 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.3402, allocations: 17.84 kB / 0.5652 GB, free: 31.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3402, allocations: 0.5 kB / 0.5652 GB, free: 31.07 MB / 446.1 MB Notification: Performance of Templates: time 0.003918/0.3441, allocations: 1.408 MB / 0.5666 GB, free: 31 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)