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.0007792/0.0007793, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004725/0.004725, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.132/1.132, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.8253/0.8253, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002662, allocations: 11.98 kB / 0.5164 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 83.41 MB / 0.5978 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002181/0.1277, allocations: 2.239 MB / 0.6 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.1284, allocations: 0.596 MB / 0.6006 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1286, allocations: 4 kB / 0.6006 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.1287, allocations: 35.66 kB / 0.6006 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1288, allocations: 59.47 kB / 0.6007 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.129, allocations: 79.94 kB / 0.6008 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1292, allocations: 310.6 kB / 0.6011 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.1295, allocations: 153.1 kB / 0.6012 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1296, allocations: 91.58 kB / 0.6013 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1297, allocations: 99.38 kB / 0.6014 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1298, allocations: 16 kB / 0.6014 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.1298, allocations: 8 kB / 0.6014 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.1298, allocations: 39.78 kB / 0.6015 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.1299, allocations: 148.9 kB / 0.6016 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1302, allocations: 311 kB / 0.6019 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1302, allocations: 0 / 0.6019 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1302, allocations: 0 / 0.6019 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1302, allocations: 0 / 0.6019 GB, free: 3.508 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.000588/0.1308, allocations: 0.5263 MB / 0.6024 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.1308, allocations: 8.031 kB / 0.6024 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.1309, allocations: 36.56 kB / 0.6024 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1311, allocations: 275.6 kB / 0.6027 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1312, allocations: 16.94 kB / 0.6027 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1312, allocations: 24.38 kB / 0.6027 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.1316, allocations: 233.1 kB / 0.603 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1316, allocations: 3.984 kB / 0.603 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1316, allocations: 15.94 kB / 0.603 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1316, allocations: 4 kB / 0.603 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.132, allocations: 170.2 kB / 0.6032 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.1329, allocations: 0.8873 MB / 0.604 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.1333, allocations: 118.7 kB / 0.6041 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1334, allocations: 60.83 kB / 0.6042 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1334, allocations: 4 kB / 0.6042 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.1334, allocations: 30.56 kB / 0.6042 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.011e-06/0.1334, allocations: 3.938 kB / 0.6042 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004083/0.1339, allocations: 185.5 kB / 0.6044 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1339, allocations: 51.41 kB / 0.6045 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.1341, allocations: 283 kB / 0.6047 GB, free: 384 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1341, allocations: 25.7 kB / 0.6048 GB, free: 352 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.1342, allocations: 180 kB / 0.6049 GB, free: 168 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1343, allocations: 31.5 kB / 0.605 GB, free: 136 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1343, allocations: 17.7 kB / 0.605 GB, free: 112 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2133/0.3476, allocations: 338.8 kB / 0.6053 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.3478, allocations: 34.95 kB / 0.6053 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.3479, allocations: 41.31 kB / 0.6054 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.3481, allocations: 90.72 kB / 0.6055 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3481, allocations: 0.875 kB / 0.6055 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002692/0.3484, allocations: 149.9 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3484, allocations: 6.391 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3484, allocations: 0 / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3484, allocations: 4.375 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3486, allocations: 25.77 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3486, allocations: 0.875 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.3487, allocations: 33.5 kB / 0.6057 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3487, allocations: 3.625 kB / 0.6057 GB, free: 40.76 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 9.748e-05/0.3488, allocations: 134 kB / 0.6058 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.3489, allocations: 26.09 kB / 0.6058 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.3489, allocations: 29.72 kB / 0.6058 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3489, allocations: 1.484 kB / 0.6058 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3489, allocations: 6.531 kB / 0.6059 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3489, allocations: 0 / 0.6059 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3491, allocations: 290.3 kB / 0.6061 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3492, allocations: 1.922 kB / 0.6061 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3493, allocations: 26.84 kB / 0.6062 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3493, allocations: 0 / 0.6062 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3493, allocations: 3.312 kB / 0.6062 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3493, allocations: 1.094 kB / 0.6062 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3493, allocations: 7.219 kB / 0.6062 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.3495, allocations: 241.5 kB / 0.6064 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.3496, allocations: 101.3 kB / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3496, allocations: 3.031 kB / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3498, allocations: 15.77 kB / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3498, allocations: 16.98 kB / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3498, allocations: 2.875 kB / 0.6065 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001197/0.3499, allocations: 200.2 kB / 0.6067 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3499, allocations: 0.5469 kB / 0.6067 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002337/0.3502, allocations: 50.73 kB / 0.6068 GB, free: 40.14 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 5.27e-05/0.3502, allocations: 96.89 kB / 0.6069 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.3505, allocations: 105.1 kB / 0.607 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3505, allocations: 0 / 0.607 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.3506, allocations: 55.55 kB / 0.607 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3509, allocations: 39.28 kB / 0.6071 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.3514, allocations: 0.5079 MB / 0.6076 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3515, allocations: 0.7531 MB / 0.6083 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.3516, allocations: 20.09 kB / 0.6083 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.3517, allocations: 18.72 kB / 0.6083 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.3517, allocations: 0.8438 kB / 0.6083 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.00373/0.3554, allocations: 2.019 MB / 0.6103 GB, free: 38.94 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)