Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.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.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 105.8 kB / 16.41 MB, free: 6.508 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.001576/0.001576, allocations: 187 kB / 17.34 MB, free: 5.73 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.8836/0.8836, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.52 kB / 0.5962 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.162, allocations: 82.03 MB / 0.6763 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004035/0.166, allocations: 2.581 MB / 0.6788 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.167, allocations: 0.6077 MB / 0.6794 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1672, allocations: 7.938 kB / 0.6794 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.1673, allocations: 51.45 kB / 0.6794 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1675, allocations: 75.28 kB / 0.6795 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1677, allocations: 91.89 kB / 0.6796 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.1681, allocations: 322.5 kB / 0.6799 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.1684, allocations: 121.1 kB / 0.68 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1685, allocations: 119.5 kB / 0.6801 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.1687, allocations: 135.3 kB / 0.6803 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.1688, allocations: 28 kB / 0.6803 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.1688, allocations: 28 kB / 0.6803 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.1689, allocations: 55.83 kB / 0.6804 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.169, allocations: 155.2 kB / 0.6805 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.1694, allocations: 346.5 kB / 0.6808 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1694, allocations: 4 kB / 0.6808 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1694, allocations: 0 / 0.6808 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.1694, allocations: 0 / 0.6808 GB, free: 5.766 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008971/0.1703, allocations: 0.5727 MB / 0.6814 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1704, allocations: 8.031 kB / 0.6814 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.1704, allocations: 40.7 kB / 0.6815 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.1709, allocations: 283.7 kB / 0.6817 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1709, allocations: 16.94 kB / 0.6817 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.1709, allocations: 28.31 kB / 0.6818 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.1714, allocations: 221.2 kB / 0.682 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1714, allocations: 0 / 0.682 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.1714, allocations: 16 kB / 0.682 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1714, allocations: 4 kB / 0.682 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.1718, allocations: 162.2 kB / 0.6822 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1732, allocations: 0.8914 MB / 0.683 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.1736, allocations: 110.7 kB / 0.6831 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.1737, allocations: 57.02 kB / 0.6832 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1737, allocations: 0 / 0.6832 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1737, allocations: 34.56 kB / 0.6832 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1738, allocations: 0 / 0.6832 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004948/0.1742, allocations: 177.4 kB / 0.6834 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1743, allocations: 51.41 kB / 0.6834 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.1746, allocations: 279 kB / 0.6837 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1746, allocations: 25.7 kB / 0.6837 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1748, allocations: 172.2 kB / 0.6839 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.1748, allocations: 35.73 kB / 0.6839 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.1749, allocations: 25.7 kB / 0.6839 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1751, allocations: 342.8 kB / 0.6843 GB, free: 2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1752, allocations: 35.98 kB / 0.6843 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1753, allocations: 31.98 kB / 0.6843 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1755, allocations: 92.92 kB / 0.6844 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1755, allocations: 0 / 0.6844 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002979/0.1758, allocations: 145.5 kB / 0.6846 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1758, allocations: 9.656 kB / 0.6846 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1758, allocations: 0 / 0.6846 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1758, allocations: 4 kB / 0.6846 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.176, allocations: 19.98 kB / 0.6846 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.176, allocations: 384 / 0.6846 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1761, allocations: 23.81 kB / 0.6846 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1761, allocations: 8 kB / 0.6846 GB, free: 1.629 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001418/0.1763, allocations: 138.4 kB / 0.6848 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1763, allocations: 31.75 kB / 0.6848 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.1764, allocations: 29.78 kB / 0.6848 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1764, allocations: 0 / 0.6848 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1764, allocations: 0 / 0.6848 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1764, allocations: 3.938 kB / 0.6848 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.1768, allocations: 285.5 kB / 0.6851 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1768, allocations: 4 kB / 0.6851 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1769, allocations: 19.98 kB / 0.6851 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1769, allocations: 8 kB / 0.6851 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1769, allocations: 0 / 0.6851 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1769, allocations: 0 / 0.6851 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1769, allocations: 0 / 0.6851 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1772, allocations: 235.2 kB / 0.6854 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.1773, allocations: 104.8 kB / 0.6855 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.1774, allocations: 8 kB / 0.6855 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1775, allocations: 11.98 kB / 0.6855 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.1776, allocations: 15.92 kB / 0.6855 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1776, allocations: 8 kB / 0.6855 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002089/0.1778, allocations: 197.9 kB / 0.6857 GB, free: 468 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1778, allocations: 0 / 0.6857 GB, free: 468 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002702/0.1781, allocations: 51.89 kB / 0.6857 GB, free: 416 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001014/0.1782, allocations: 95.25 kB / 0.6858 GB, free: 312 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.1785, allocations: 91.89 kB / 0.6859 GB, free: 220 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1785, allocations: 0 / 0.6859 GB, free: 220 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1786, allocations: 43.97 kB / 0.686 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1789, allocations: 46.41 kB / 0.686 GB, free: 128 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.1798, allocations: 457.4 kB / 0.6864 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1802, allocations: 0.7476 MB / 0.6872 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.1803, allocations: 23.42 kB / 0.6872 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1803, allocations: 0 / 0.6872 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.005218/0.1855, allocations: 2.837 MB / 0.69 GB, free: 12.02 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & ./BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)