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.0009078/0.0009079, allocations: 96.97 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009217/0.0009215, allocations: 176.8 kB / 16.57 MB, free: 6.859 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.374/1.374, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6799/0.6799, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 12 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1691, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001738/0.1709, allocations: 1.227 MB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.1717, allocations: 0.5303 MB / 0.5586 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.1718, allocations: 4 kB / 0.5586 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.868e-05/0.1719, allocations: 7.922 kB / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.1719, allocations: 15.97 kB / 0.5586 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1723, allocations: 67.78 kB / 0.5586 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1724, allocations: 63.84 kB / 0.5587 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1725, allocations: 20.22 kB / 0.5587 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.1726, allocations: 31.91 kB / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.1727, allocations: 39.83 kB / 0.5588 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1727, allocations: 4 kB / 0.5588 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.1728, allocations: 47.91 kB / 0.5588 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.1728, allocations: 15.97 kB / 0.5589 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.1729, allocations: 37.64 kB / 0.5589 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.173, allocations: 96.05 kB / 0.559 GB, free: 9.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.173, allocations: 4 kB / 0.559 GB, free: 9.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.173, allocations: 0 / 0.559 GB, free: 9.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.173, allocations: 4 kB / 0.559 GB, free: 9.41 MB / 430.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.0008606/0.1739, allocations: 442.7 kB / 0.5594 GB, free: 8.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.174, allocations: 12.02 kB / 0.5594 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.174, allocations: 11.91 kB / 0.5594 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1742, allocations: 198.8 kB / 0.5596 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1742, allocations: 8 kB / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1743, allocations: 0 / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1746, allocations: 113.6 kB / 0.5597 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1746, allocations: 0 / 0.5597 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1746, allocations: 8 kB / 0.5597 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.1746, allocations: 4 kB / 0.5598 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.175, allocations: 107.9 kB / 0.5599 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.1756, allocations: 352.7 kB / 0.5602 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1759, allocations: 114.5 kB / 0.5603 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.176, allocations: 4.062 kB / 0.5603 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.1763, allocations: 139.2 kB / 0.5604 GB, free: 7.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1763, allocations: 0 / 0.5604 GB, free: 7.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007142/0.177, allocations: 318.5 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1771, allocations: 51.41 kB / 0.5608 GB, free: 7.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1772, allocations: 136.1 kB / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1772, allocations: 29.7 kB / 0.5609 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.1773, allocations: 104 kB / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1773, allocations: 23.66 kB / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.1773, allocations: 0 / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1775, allocations: 322.8 kB / 0.5614 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.1777, allocations: 71.95 kB / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1779, allocations: 69.86 kB / 0.5615 GB, free: 6.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.1781, allocations: 93.66 kB / 0.5616 GB, free: 6.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1781, allocations: 0 / 0.5616 GB, free: 6.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004665/0.1785, allocations: 223.1 kB / 0.5618 GB, free: 6.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.1786, allocations: 37.69 kB / 0.5619 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1786, allocations: 0 / 0.5619 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1786, allocations: 0 / 0.5619 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1788, allocations: 23.98 kB / 0.5619 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1788, allocations: 0 / 0.5619 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1789, allocations: 27.83 kB / 0.5619 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.179, allocations: 7.984 kB / 0.5619 GB, free: 6.164 MB / 430.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/0.1791, allocations: 121.8 kB / 0.562 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.1791, allocations: 11.91 kB / 0.562 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.1791, allocations: 16.7 kB / 0.5621 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.1792, allocations: 4 kB / 0.5621 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1792, allocations: 0 / 0.5621 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1792, allocations: 480 / 0.5621 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1794, allocations: 201.5 kB / 0.5622 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1794, allocations: 3.938 kB / 0.5623 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1795, allocations: 19.98 kB / 0.5623 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1795, allocations: 7.984 kB / 0.5623 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1795, allocations: 11.94 kB / 0.5623 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1795, allocations: 3.984 kB / 0.5623 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1795, allocations: 0 / 0.5623 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.18, allocations: 204.8 kB / 0.5625 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.18, allocations: 88.91 kB / 0.5626 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1801, allocations: 4 kB / 0.5626 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1802, allocations: 19.98 kB / 0.5626 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.1803, allocations: 15.97 kB / 0.5626 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1803, allocations: 4 kB / 0.5626 GB, free: 5.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.271e-05/0.1804, allocations: 107.2 kB / 0.5627 GB, free: 5.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1804, allocations: 0 / 0.5627 GB, free: 5.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1806, allocations: 40 kB / 0.5628 GB, free: 5.199 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001633/0.1808, allocations: 107.9 kB / 0.5629 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.1813, allocations: 203.2 kB / 0.5631 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1813, allocations: 0 / 0.5631 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.1815, allocations: 75.95 kB / 0.5631 GB, free: 4.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.1817, allocations: 14.97 kB / 0.5631 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.1822, allocations: 266.9 kB / 0.5634 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1826, allocations: 0.7032 MB / 0.5641 GB, free: 3.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.1826, allocations: 19.77 kB / 0.5641 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1827, allocations: 15.42 kB / 0.5641 GB, free: 3.734 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1827, allocations: 3.938 kB / 0.5641 GB, free: 3.73 MB / 430.1 MB Notification: Performance of Templates: time 0.003695/0.1864, allocations: 1.227 MB / 0.5653 GB, free: 2.508 MB / 430.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)