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.001159/0.001158, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001171/0.001171, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.9229/0.9229, allocations: 143 MB / 433.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.5137 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1572, allocations: 82.04 MB / 0.5938 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002631/0.1599, allocations: 1.611 MB / 0.5953 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.1608, allocations: 0.561 MB / 0.5959 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.1609, allocations: 0 / 0.5959 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.161, allocations: 3.938 kB / 0.5959 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.161, allocations: 27.78 kB / 0.5959 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1614, allocations: 79.86 kB / 0.596 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1615, allocations: 91.7 kB / 0.5961 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1617, allocations: 24.2 kB / 0.5961 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1618, allocations: 47.84 kB / 0.5962 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.1619, allocations: 39.84 kB / 0.5962 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1619, allocations: 8 kB / 0.5962 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.162, allocations: 59.89 kB / 0.5963 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.1621, allocations: 23.91 kB / 0.5963 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.1621, allocations: 43.72 kB / 0.5963 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1623, allocations: 135.9 kB / 0.5965 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1623, allocations: 0 / 0.5965 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1624, allocations: 8 kB / 0.5965 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1624, allocations: 0 / 0.5965 GB, free: 7.23 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.0007794/0.1632, allocations: 452.7 kB / 0.5969 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1632, allocations: 8.031 kB / 0.5969 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1633, allocations: 12.83 kB / 0.5969 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1634, allocations: 199.4 kB / 0.5971 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1634, allocations: 4.375 kB / 0.5971 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1635, allocations: 4.375 kB / 0.5971 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.1638, allocations: 109.9 kB / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1638, allocations: 0 / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1638, allocations: 4 kB / 0.5972 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.1638, allocations: 4 kB / 0.5972 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.1642, allocations: 91.84 kB / 0.5973 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.1648, allocations: 348.6 kB / 0.5976 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1651, allocations: 90.52 kB / 0.5977 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1653, allocations: 72.88 kB / 0.5978 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1653, allocations: 7.922 kB / 0.5978 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.1657, allocations: 111.3 kB / 0.5979 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 3.126e-06/0.1657, allocations: 3.984 kB / 0.5979 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000634/0.1663, allocations: 205.4 kB / 0.5981 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1664, allocations: 55.39 kB / 0.5982 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1665, allocations: 141.7 kB / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1665, allocations: 29.7 kB / 0.5983 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.1666, allocations: 96.12 kB / 0.5984 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.1666, allocations: 27.56 kB / 0.5984 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.1667, allocations: 33.69 kB / 0.5985 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1668, allocations: 326.9 kB / 0.5988 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.167, allocations: 59.89 kB / 0.5989 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1672, allocations: 55.95 kB / 0.5989 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1676, allocations: 150.5 kB / 0.599 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1676, allocations: 4 kB / 0.5991 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004403/0.168, allocations: 191.2 kB / 0.5992 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.1681, allocations: 33.7 kB / 0.5993 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1681, allocations: 0 / 0.5993 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1681, allocations: 4 kB / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1683, allocations: 23.97 kB / 0.5993 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1683, allocations: 3.938 kB / 0.5993 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1684, allocations: 15.92 kB / 0.5993 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1684, allocations: 4 kB / 0.5993 GB, free: 4.059 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 8.813e-05/0.1685, allocations: 125.8 kB / 0.5994 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1686, allocations: 16.28 kB / 0.5995 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.1686, allocations: 8.719 kB / 0.5995 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.1686, allocations: 11.98 kB / 0.5995 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1686, allocations: 3.938 kB / 0.5995 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1686, allocations: 0 / 0.5995 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1688, allocations: 197.5 kB / 0.5997 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1688, allocations: 0 / 0.5997 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1689, allocations: 19.97 kB / 0.5997 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1689, allocations: 0 / 0.5997 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.169, allocations: 4 kB / 0.5997 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.169, allocations: 0 / 0.5997 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.169, allocations: 0 / 0.5997 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.1694, allocations: 196.8 kB / 0.5999 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1695, allocations: 81.02 kB / 0.5999 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1695, allocations: 4 kB / 0.6 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1696, allocations: 15.97 kB / 0.6 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.1697, allocations: 15.98 kB / 0.6 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1697, allocations: 4 kB / 0.6 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.1698, allocations: 117.3 kB / 0.6001 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1698, allocations: 0 / 0.6001 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000243/0.17, allocations: 35.94 kB / 0.6001 GB, free: 3.121 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.0001551/0.1702, allocations: 115.2 kB / 0.6002 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.1707, allocations: 191.3 kB / 0.6004 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1707, allocations: 0 / 0.6004 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.1709, allocations: 71.88 kB / 0.6005 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.1711, allocations: 7.984 kB / 0.6005 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.1717, allocations: 263.5 kB / 0.6008 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1719, allocations: 0.7002 MB / 0.6014 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.552e-05/0.172, allocations: 11.98 kB / 0.6014 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.172, allocations: 15.44 kB / 0.6015 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.172, allocations: 0 / 0.6015 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.003757/0.1758, allocations: 1.328 MB / 0.6028 GB, free: 372 kB / 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)