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.001052/0.001052, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001065/0.001065, allocations: 194.3 kB / 16.13 MB, free: 6.656 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.964/0.964, allocations: 143 MB / 433 MB, free: 11.63 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 0.5135 GB, free: 12.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 82.03 MB / 0.5936 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003592/0.1573, allocations: 2.605 MB / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000858/0.1582, allocations: 0.6116 MB / 0.5967 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1583, allocations: 4 kB / 0.5967 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.1585, allocations: 39.64 kB / 0.5968 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1587, allocations: 59.48 kB / 0.5968 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1589, allocations: 75.94 kB / 0.5969 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1592, allocations: 314.6 kB / 0.5972 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.1594, allocations: 157.1 kB / 0.5973 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1596, allocations: 103.6 kB / 0.5974 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1597, allocations: 131.3 kB / 0.5976 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.1598, allocations: 16 kB / 0.5976 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.004e-05/0.1598, allocations: 16 kB / 0.5976 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1599, allocations: 47.78 kB / 0.5976 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.16, allocations: 131.3 kB / 0.5978 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1603, allocations: 319.1 kB / 0.5981 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1603, allocations: 4 kB / 0.5981 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1603, allocations: 0 / 0.5981 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1603, allocations: 4 kB / 0.5981 GB, free: 5.504 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.0007834/0.1611, allocations: 0.5614 MB / 0.5986 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1611, allocations: 8.031 kB / 0.5986 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.1612, allocations: 40.47 kB / 0.5987 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1615, allocations: 271.6 kB / 0.5989 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1615, allocations: 20.94 kB / 0.599 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.1616, allocations: 28.38 kB / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.162, allocations: 221.2 kB / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.162, allocations: 0 / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.162, allocations: 11.94 kB / 0.5992 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1621, allocations: 8 kB / 0.5992 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.1624, allocations: 166.2 kB / 0.5994 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1635, allocations: 0.8871 MB / 0.6002 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.1639, allocations: 114.8 kB / 0.6003 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1641, allocations: 56.83 kB / 0.6004 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1641, allocations: 0 / 0.6004 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1641, allocations: 38.69 kB / 0.6004 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1641, allocations: 4 kB / 0.6004 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004343/0.1646, allocations: 169.3 kB / 0.6006 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1646, allocations: 55.34 kB / 0.6007 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.1649, allocations: 283 kB / 0.6009 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1649, allocations: 25.7 kB / 0.6009 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.165, allocations: 176 kB / 0.6011 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.165, allocations: 31.55 kB / 0.6011 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1651, allocations: 29.7 kB / 0.6012 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1652, allocations: 334.8 kB / 0.6015 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1653, allocations: 35.98 kB / 0.6015 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.1654, allocations: 39.92 kB / 0.6016 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.1656, allocations: 80.83 kB / 0.6016 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1656, allocations: 4 kB / 0.6016 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002751/0.1659, allocations: 141.2 kB / 0.6018 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.166, allocations: 8 kB / 0.6018 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.166, allocations: 0 / 0.6018 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.166, allocations: 4 kB / 0.6018 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1661, allocations: 23.98 kB / 0.6018 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1661, allocations: 0 / 0.6018 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1663, allocations: 23.77 kB / 0.6018 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1663, allocations: 7.984 kB / 0.6018 GB, free: 1.383 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.0001172/0.1664, allocations: 138.2 kB / 0.602 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.1665, allocations: 23.72 kB / 0.602 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.1665, allocations: 29.78 kB / 0.602 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1665, allocations: 0 / 0.602 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1665, allocations: 3.938 kB / 0.602 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1666, allocations: 7.938 kB / 0.602 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1669, allocations: 289.4 kB / 0.6023 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1669, allocations: 4 kB / 0.6023 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.167, allocations: 15.98 kB / 0.6023 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.167, allocations: 8 kB / 0.6023 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.167, allocations: 0 / 0.6023 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.167, allocations: 0 / 0.6023 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.167, allocations: 0 / 0.6023 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.1673, allocations: 235.1 kB / 0.6026 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1674, allocations: 104.8 kB / 0.6027 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1674, allocations: 0 / 0.6027 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1676, allocations: 11.98 kB / 0.6027 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.1677, allocations: 23.91 kB / 0.6027 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1677, allocations: 0 / 0.6027 GB, free: 420 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001826/0.1679, allocations: 202 kB / 0.6029 GB, free: 220 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1679, allocations: 0 / 0.6029 GB, free: 220 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000263/0.1681, allocations: 47.84 kB / 0.6029 GB, free: 172 kB / 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 8.617e-05/0.1682, allocations: 103.1 kB / 0.603 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2661/0.4343, allocations: 86.8 kB / 0.6031 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4343, allocations: 3.781 kB / 0.6031 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4345, allocations: 48.39 kB / 0.6032 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.4351, allocations: 35.86 kB / 0.6032 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.4358, allocations: 499.8 kB / 0.6037 GB, free: 44.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.436, allocations: 0.7495 MB / 0.6044 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.993e-05/0.4361, allocations: 21.84 kB / 0.6044 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.4362, allocations: 24.12 kB / 0.6045 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of SimCode: time 5.52e-07/0.4362, allocations: 0 / 0.6045 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.004653/0.4408, allocations: 2.029 MB / 0.6064 GB, free: 43.27 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)