Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00132/0.00132, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001543/0.001543, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9805/0.9805, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003383, allocations: 16 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 83.41 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001464/0.1638, allocations: 1.233 MB / 0.5985 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007626/0.1646, allocations: 0.5303 MB / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.1647, allocations: 0 / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.648e-05/0.1648, allocations: 7.922 kB / 0.599 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.1648, allocations: 19.91 kB / 0.599 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1651, allocations: 71.78 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.1652, allocations: 63.84 kB / 0.5992 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.1653, allocations: 16.22 kB / 0.5992 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1654, allocations: 39.84 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.1655, allocations: 39.83 kB / 0.5992 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1655, allocations: 4 kB / 0.5992 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.1656, allocations: 43.95 kB / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.1657, allocations: 19.92 kB / 0.5993 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1657, allocations: 33.7 kB / 0.5993 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1658, allocations: 104 kB / 0.5994 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1659, allocations: 0 / 0.5994 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1659, allocations: 0 / 0.5994 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1659, allocations: 0 / 0.5994 GB, free: 5.582 MB / 0.4981 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.0007095/0.1666, allocations: 452.6 kB / 0.5999 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1666, allocations: 8.031 kB / 0.5999 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.1667, allocations: 7.906 kB / 0.5999 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1668, allocations: 197.1 kB / 0.6001 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1669, allocations: 8 kB / 0.6001 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1669, allocations: 4 kB / 0.6001 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1672, allocations: 113.5 kB / 0.6002 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1672, allocations: 0 / 0.6002 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1672, allocations: 4 kB / 0.6002 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1672, allocations: 4 kB / 0.6002 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.1676, allocations: 107.9 kB / 0.6003 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.1683, allocations: 356.7 kB / 0.6006 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1686, allocations: 114.4 kB / 0.6008 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1686, allocations: 8.047 kB / 0.6008 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.169, allocations: 123.4 kB / 0.6009 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.169, allocations: 0 / 0.6009 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007076/0.1697, allocations: 322.7 kB / 0.6012 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1697, allocations: 55.41 kB / 0.6012 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1698, allocations: 137.8 kB / 0.6014 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1699, allocations: 25.7 kB / 0.6014 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1699, allocations: 108 kB / 0.6015 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.17, allocations: 27.64 kB / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.17, allocations: 0 / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1701, allocations: 319 kB / 0.6018 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1703, allocations: 71.88 kB / 0.6019 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1705, allocations: 67.89 kB / 0.602 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1707, allocations: 93.66 kB / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1707, allocations: 4 kB / 0.6021 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004697/0.1712, allocations: 211.2 kB / 0.6023 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.1712, allocations: 45.64 kB / 0.6023 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1713, allocations: 0 / 0.6023 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1713, allocations: 0 / 0.6023 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1714, allocations: 19.98 kB / 0.6023 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1714, allocations: 4 kB / 0.6023 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1716, allocations: 27.81 kB / 0.6024 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1716, allocations: 11.94 kB / 0.6024 GB, free: 2.328 MB / 0.4981 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 ($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.262e-05/0.1717, allocations: 117.8 kB / 0.6025 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.1718, allocations: 11.91 kB / 0.6025 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.1718, allocations: 16.66 kB / 0.6025 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.1718, allocations: 4 kB / 0.6025 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1718, allocations: 3.938 kB / 0.6025 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1718, allocations: 4 kB / 0.6025 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.172, allocations: 193.6 kB / 0.6027 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.172, allocations: 0 / 0.6027 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1722, allocations: 27.98 kB / 0.6027 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1722, allocations: 0 / 0.6027 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1722, allocations: 3.984 kB / 0.6027 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1722, allocations: 3.953 kB / 0.6027 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1722, allocations: 4 kB / 0.6027 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.1727, allocations: 208.9 kB / 0.6029 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.1728, allocations: 85.02 kB / 0.603 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1728, allocations: 4 kB / 0.603 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1729, allocations: 19.98 kB / 0.603 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.173, allocations: 19.92 kB / 0.6031 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.173, allocations: 0 / 0.6031 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.1731, allocations: 109.7 kB / 0.6032 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1731, allocations: 0 / 0.6032 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002598/0.1733, allocations: 36 kB / 0.6032 GB, free: 1.375 MB / 0.4981 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 (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.0001677/0.1735, allocations: 111.2 kB / 0.6033 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.174, allocations: 207.2 kB / 0.6035 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.174, allocations: 0 / 0.6035 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.1743, allocations: 75.89 kB / 0.6036 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.1744, allocations: 11.98 kB / 0.6036 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.175, allocations: 255 kB / 0.6038 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2221/0.3971, allocations: 0.709 MB / 0.6045 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.771e-05/0.3972, allocations: 14.97 kB / 0.6045 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.3973, allocations: 12.36 kB / 0.6045 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.3973, allocations: 0 / 0.6045 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.003134/0.4004, allocations: 1.236 MB / 0.6058 GB, free: 40.61 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) Environment - environmentSimulation: