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.0009953/0.0009952, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001223/0.001223, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.289 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.9876/0.9876, allocations: 143.2 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004311, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 83.41 MB / 0.5972 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002333/0.1593, allocations: 2.151 MB / 0.5993 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007862/0.1601, allocations: 0.5885 MB / 0.5999 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1603, allocations: 4 kB / 0.5999 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1604, allocations: 31.66 kB / 0.5999 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1605, allocations: 67.45 kB / 0.6 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1607, allocations: 51.94 kB / 0.6 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.161, allocations: 298.7 kB / 0.6003 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1612, allocations: 117.1 kB / 0.6004 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1613, allocations: 83.66 kB / 0.6005 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1615, allocations: 99.47 kB / 0.6006 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.1615, allocations: 15.94 kB / 0.6006 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.472e-05/0.1616, allocations: 12 kB / 0.6006 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.1616, allocations: 35.84 kB / 0.6007 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.1617, allocations: 85.45 kB / 0.6008 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1619, allocations: 239.6 kB / 0.601 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1619, allocations: 0 / 0.601 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1619, allocations: 0 / 0.601 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1619, allocations: 0 / 0.601 GB, free: 4.195 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.0006731/0.1626, allocations: 0.5378 MB / 0.6015 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1626, allocations: 8.031 kB / 0.6015 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.1627, allocations: 35.58 kB / 0.6016 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.163, allocations: 258.5 kB / 0.6018 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.163, allocations: 24.56 kB / 0.6018 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1631, allocations: 24 kB / 0.6018 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.1635, allocations: 224.8 kB / 0.6021 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1635, allocations: 0 / 0.6021 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.1635, allocations: 12 kB / 0.6021 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1635, allocations: 4 kB / 0.6021 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.1639, allocations: 170.1 kB / 0.6022 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.165, allocations: 0.8874 MB / 0.6031 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.1654, allocations: 126.7 kB / 0.6032 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1655, allocations: 48.84 kB / 0.6033 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1655, allocations: 8 kB / 0.6033 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1656, allocations: 38.52 kB / 0.6033 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.1656, allocations: 0 / 0.6033 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004321/0.166, allocations: 185.4 kB / 0.6035 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.166, allocations: 55.39 kB / 0.6035 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1663, allocations: 282.9 kB / 0.6038 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1663, allocations: 25.7 kB / 0.6038 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.1664, allocations: 168.1 kB / 0.604 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1665, allocations: 31.55 kB / 0.604 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.1665, allocations: 4 kB / 0.604 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1666, allocations: 335.2 kB / 0.6044 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1667, allocations: 43.98 kB / 0.6044 GB, free: 464 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.1668, allocations: 43.92 kB / 0.6044 GB, free: 420 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1669, allocations: 39.98 kB / 0.6045 GB, free: 380 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1669, allocations: 3.938 kB / 0.6045 GB, free: 376 kB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002731/0.1672, allocations: 153.3 kB / 0.6046 GB, free: 216 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1672, allocations: 7.953 kB / 0.6046 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1673, allocations: 0 / 0.6046 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1673, allocations: 0 / 0.6046 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1674, allocations: 27.92 kB / 0.6047 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1674, allocations: 0 / 0.6047 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1676, allocations: 35.73 kB / 0.6047 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1676, allocations: 4 kB / 0.6047 GB, free: 140 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2527/0.4202, allocations: 133.7 kB / 0.6048 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.4203, allocations: 22.34 kB / 0.6048 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.4204, allocations: 23.47 kB / 0.6049 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4204, allocations: 2.062 kB / 0.6049 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4204, allocations: 4.031 kB / 0.6049 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4205, allocations: 0 / 0.6049 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.4208, allocations: 290.3 kB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4208, allocations: 0 / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.4209, allocations: 28.34 kB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4209, allocations: 0.5 kB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.421, allocations: 4.25 kB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.421, allocations: 2.062 kB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.421, allocations: 0.625 kB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.4213, allocations: 245.1 kB / 0.6054 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.4213, allocations: 102.4 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.4213, allocations: 5.375 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.4215, allocations: 14.56 kB / 0.6055 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.4216, allocations: 12.62 kB / 0.6056 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.078e-06/0.4216, allocations: 1.781 kB / 0.6056 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00014/0.4217, allocations: 198.2 kB / 0.6057 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4217, allocations: 0.5 kB / 0.6057 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002745/0.422, allocations: 49.92 kB / 0.6058 GB, free: 40.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.147e-05/0.4221, allocations: 99.31 kB / 0.6059 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.4223, allocations: 99.36 kB / 0.606 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4223, allocations: 0 / 0.606 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4224, allocations: 55.02 kB / 0.606 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.4228, allocations: 41.61 kB / 0.6061 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.4234, allocations: 497.2 kB / 0.6065 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.4236, allocations: 0.7511 MB / 0.6073 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.648e-05/0.4237, allocations: 25.72 kB / 0.6073 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.4237, allocations: 17.41 kB / 0.6073 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4237, allocations: 0 / 0.6073 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.004087/0.4278, allocations: 1.948 MB / 0.6092 GB, free: 39.22 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)