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.001264/0.001264, 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.001079/0.00108, allocations: 194 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.963/0.963, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.89 kB / 0.5141 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 82.03 MB / 0.5943 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003974/0.1564, allocations: 2.559 MB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1575, allocations: 0.6116 MB / 0.5973 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.1578, allocations: 8 kB / 0.5974 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.158, allocations: 51.39 kB / 0.5974 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1583, allocations: 75.34 kB / 0.5975 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1586, allocations: 87.83 kB / 0.5976 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.159, allocations: 318.7 kB / 0.5979 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.1593, allocations: 181.1 kB / 0.598 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.1595, allocations: 127.5 kB / 0.5982 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1597, allocations: 135.3 kB / 0.5983 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1598, allocations: 28 kB / 0.5983 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.1598, allocations: 28 kB / 0.5983 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.1599, allocations: 59.77 kB / 0.5984 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.16, allocations: 143.3 kB / 0.5985 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.1604, allocations: 339.1 kB / 0.5989 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1604, allocations: 0 / 0.5989 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1604, allocations: 0 / 0.5989 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.1604, allocations: 4 kB / 0.5989 GB, free: 4.832 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008714/0.1613, allocations: 0.5633 MB / 0.5994 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1613, allocations: 12.02 kB / 0.5994 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.1614, allocations: 36.47 kB / 0.5995 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.1617, allocations: 271.6 kB / 0.5997 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1617, allocations: 20.94 kB / 0.5997 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1618, allocations: 24.38 kB / 0.5998 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.1622, allocations: 225.2 kB / 0.6 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1622, allocations: 0 / 0.6 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1622, allocations: 4 kB / 0.6 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1623, allocations: 8 kB / 0.6 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.1626, allocations: 166.2 kB / 0.6001 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1638, allocations: 0.8871 MB / 0.601 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.1642, allocations: 118.8 kB / 0.6011 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1643, allocations: 56.97 kB / 0.6012 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1643, allocations: 0 / 0.6012 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1644, allocations: 30.56 kB / 0.6012 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1644, allocations: 0 / 0.6012 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004399/0.1648, allocations: 177.3 kB / 0.6014 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1648, allocations: 51.41 kB / 0.6014 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1651, allocations: 279.3 kB / 0.6017 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1651, allocations: 29.7 kB / 0.6017 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1652, allocations: 172 kB / 0.6019 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1653, allocations: 35.55 kB / 0.6019 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.1653, allocations: 21.66 kB / 0.6019 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1655, allocations: 346.8 kB / 0.6023 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1656, allocations: 39.97 kB / 0.6023 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.1657, allocations: 35.98 kB / 0.6023 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1659, allocations: 84.77 kB / 0.6024 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1659, allocations: 0 / 0.6024 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002825/0.1662, allocations: 149.5 kB / 0.6026 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1662, allocations: 8 kB / 0.6026 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1662, allocations: 0 / 0.6026 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1662, allocations: 0 / 0.6026 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1664, allocations: 19.98 kB / 0.6026 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1664, allocations: 4 kB / 0.6026 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1665, allocations: 23.77 kB / 0.6026 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1665, allocations: 4 kB / 0.6026 GB, free: 0.7188 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: 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.0001168/0.1667, allocations: 141.8 kB / 0.6028 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.1667, allocations: 23.72 kB / 0.6028 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.1668, allocations: 29.78 kB / 0.6028 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1668, allocations: 0 / 0.6028 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1668, allocations: 0 / 0.6028 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1668, allocations: 3.938 kB / 0.6028 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.1671, allocations: 293.3 kB / 0.6031 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1671, allocations: 3.984 kB / 0.6031 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1672, allocations: 23.98 kB / 0.6031 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1672, allocations: 0 / 0.6031 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1673, allocations: 8 kB / 0.6031 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1673, allocations: 0 / 0.6031 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1673, allocations: 0 / 0.6031 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2646/0.4318, allocations: 231.8 kB / 0.6033 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.4319, allocations: 99.39 kB / 0.6034 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.432, allocations: 2.781 kB / 0.6034 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.4322, allocations: 14.39 kB / 0.6035 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.4322, allocations: 13.61 kB / 0.6035 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4323, allocations: 4.781 kB / 0.6035 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001965/0.4325, allocations: 200.2 kB / 0.6037 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4325, allocations: 1.688 kB / 0.6037 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003494/0.4328, allocations: 46.52 kB / 0.6037 GB, free: 43.71 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: 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 7.375e-05/0.4329, allocations: 101.7 kB / 0.6038 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.4332, allocations: 96.2 kB / 0.6039 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4332, allocations: 0 / 0.6039 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.4333, allocations: 52.69 kB / 0.604 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.4337, allocations: 35.08 kB / 0.604 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.4344, allocations: 414.7 kB / 0.6044 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.4345, allocations: 0.7511 MB / 0.6051 GB, free: 42.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.232e-05/0.4346, allocations: 24.91 kB / 0.6051 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.4347, allocations: 18.66 kB / 0.6052 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4347, allocations: 0 / 0.6052 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.004469/0.4391, allocations: 2.207 MB / 0.6073 GB, free: 42.67 MB / 0.4981 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)