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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001045/0.001045, allocations: 108 kB / 15.6 MB, free: 132 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.001088/0.001088, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9623/0.9623, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.88 kB / 0.5141 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.157, allocations: 82.03 MB / 0.5943 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.00271/0.1598, allocations: 1.541 MB / 0.5958 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009428/0.1608, allocations: 0.5805 MB / 0.5963 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.1608, allocations: 0 / 0.5963 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.1609, allocations: 7.875 kB / 0.5963 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.161, allocations: 19.8 kB / 0.5964 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.1614, allocations: 91.77 kB / 0.5964 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1615, allocations: 107.6 kB / 0.5965 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1616, allocations: 12.23 kB / 0.5966 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1618, allocations: 47.84 kB / 0.5966 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.1619, allocations: 47.81 kB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1619, allocations: 8 kB / 0.5967 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.162, allocations: 59.89 kB / 0.5967 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.1621, allocations: 19.92 kB / 0.5967 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.1621, allocations: 39.73 kB / 0.5968 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1623, allocations: 135.9 kB / 0.5969 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1623, allocations: 11.94 kB / 0.5969 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1623, allocations: 0 / 0.5969 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1623, allocations: 0 / 0.5969 GB, free: 6.84 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.0007767/0.1631, allocations: 460.6 kB / 0.5973 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1632, allocations: 8.031 kB / 0.5974 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1632, allocations: 8.844 kB / 0.5974 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1634, allocations: 195 kB / 0.5976 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1634, allocations: 4.375 kB / 0.5976 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1634, allocations: 4.375 kB / 0.5976 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.1637, allocations: 113.9 kB / 0.5977 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1638, allocations: 0 / 0.5977 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1638, allocations: 4 kB / 0.5977 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.1638, allocations: 4 kB / 0.5977 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1641, allocations: 83.91 kB / 0.5978 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.1647, allocations: 348.6 kB / 0.5981 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1651, allocations: 102.4 kB / 0.5982 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1652, allocations: 56.88 kB / 0.5982 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1653, allocations: 4 kB / 0.5982 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.1657, allocations: 111.3 kB / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.947e-06/0.1658, allocations: 0 / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0008165/0.1666, allocations: 205.4 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1667, allocations: 51.41 kB / 0.5986 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1668, allocations: 149.7 kB / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1668, allocations: 25.7 kB / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.1669, allocations: 92.14 kB / 0.5989 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1669, allocations: 35.61 kB / 0.5989 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.167, allocations: 29.7 kB / 0.5989 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1671, allocations: 330.8 kB / 0.5992 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.1673, allocations: 52.06 kB / 0.5993 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.1675, allocations: 68.05 kB / 0.5993 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.1679, allocations: 146.5 kB / 0.5995 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1679, allocations: 4.094 kB / 0.5995 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004563/0.1684, allocations: 195.1 kB / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.1684, allocations: 32.2 kB / 0.5997 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1684, allocations: 0 / 0.5997 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1685, allocations: 11.92 kB / 0.5997 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.1686, allocations: 19.97 kB / 0.5997 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1686, allocations: 4 kB / 0.5997 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1688, allocations: 19.92 kB / 0.5998 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1688, allocations: 4 kB / 0.5998 GB, free: 3.672 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 (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 9.498e-05/0.1689, allocations: 125.8 kB / 0.5999 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1689, allocations: 11.81 kB / 0.5999 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.169, allocations: 8.719 kB / 0.5999 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.169, allocations: 4 kB / 0.5999 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.169, allocations: 0 / 0.5999 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.169, allocations: 4 kB / 0.5999 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1692, allocations: 209.5 kB / 0.6001 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1692, allocations: 0 / 0.6001 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1693, allocations: 19.97 kB / 0.6001 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1693, allocations: 0 / 0.6001 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1694, allocations: 0 / 0.6001 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1694, allocations: 7.938 kB / 0.6001 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1694, allocations: 0 / 0.6001 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.1698, allocations: 184.9 kB / 0.6003 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1699, allocations: 85.02 kB / 0.6004 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1699, allocations: 4 kB / 0.6004 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.17, allocations: 15.97 kB / 0.6004 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.1701, allocations: 11.98 kB / 0.6004 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1701, allocations: 4 kB / 0.6004 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.172e-05/0.1702, allocations: 117.7 kB / 0.6005 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1702, allocations: 0 / 0.6005 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002487/0.1704, allocations: 43.92 kB / 0.6006 GB, free: 2.734 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 (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.0001547/0.1706, allocations: 111.2 kB / 0.6007 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.1711, allocations: 195.2 kB / 0.6009 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1711, allocations: 4 kB / 0.6009 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1713, allocations: 63.95 kB / 0.6009 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.1715, allocations: 11.98 kB / 0.6009 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.172, allocations: 231.5 kB / 0.6012 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1723, allocations: 0.704 MB / 0.6019 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.973e-05/0.1724, allocations: 11.98 kB / 0.6019 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.1724, allocations: 19.44 kB / 0.6019 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1724, allocations: 0 / 0.6019 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.2485/0.421, allocations: 1.397 MB / 0.6033 GB, free: 43.82 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (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)