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.001259/0.001259, allocations: 106.2 kB / 16.41 MB, free: 6.5 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.001276/0.001276, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.15 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.8055/0.8055, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 67.77 kB / 0.5961 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.133, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003582/0.1366, allocations: 2.573 MB / 0.6788 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1378, allocations: 0.6154 MB / 0.6794 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.138, allocations: 11.94 kB / 0.6794 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.1382, allocations: 51.47 kB / 0.6794 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1384, allocations: 71.28 kB / 0.6795 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1387, allocations: 79.91 kB / 0.6796 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.1391, allocations: 326.5 kB / 0.6799 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.1395, allocations: 189 kB / 0.6801 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1398, allocations: 119.5 kB / 0.6802 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.1401, allocations: 135.3 kB / 0.6803 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/0.1402, allocations: 28 kB / 0.6803 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.1403, allocations: 28 kB / 0.6804 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.1403, allocations: 55.84 kB / 0.6804 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.1405, allocations: 147.2 kB / 0.6806 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.1411, allocations: 342.8 kB / 0.6809 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1411, allocations: 4 kB / 0.6809 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.226e-06/0.1411, allocations: 0 / 0.6809 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.1411, allocations: 0 / 0.6809 GB, free: 5.598 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.001019/0.1422, allocations: 0.5652 MB / 0.6814 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1422, allocations: 12.03 kB / 0.6814 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.1423, allocations: 32.56 kB / 0.6815 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.1428, allocations: 283.6 kB / 0.6818 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.1428, allocations: 24.88 kB / 0.6818 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.1429, allocations: 20.38 kB / 0.6818 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.1433, allocations: 221.2 kB / 0.682 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1434, allocations: 0 / 0.682 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1434, allocations: 12 kB / 0.682 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1434, allocations: 4 kB / 0.682 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.1438, allocations: 170.1 kB / 0.6822 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1451, allocations: 0.8794 MB / 0.683 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.1454, allocations: 122.6 kB / 0.6832 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1456, allocations: 56.89 kB / 0.6832 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1456, allocations: 0 / 0.6832 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1456, allocations: 30.56 kB / 0.6832 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1456, allocations: 0 / 0.6832 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004246/0.1461, allocations: 177.5 kB / 0.6834 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.1461, allocations: 51.41 kB / 0.6835 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1464, allocations: 279 kB / 0.6837 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1464, allocations: 25.7 kB / 0.6837 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1465, allocations: 176.1 kB / 0.6839 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1465, allocations: 35.45 kB / 0.684 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.1466, allocations: 29.64 kB / 0.684 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1467, allocations: 338.8 kB / 0.6843 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1468, allocations: 35.98 kB / 0.6843 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.1469, allocations: 39.98 kB / 0.6844 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.1471, allocations: 80.77 kB / 0.6845 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1471, allocations: 0 / 0.6845 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002689/0.1474, allocations: 145.3 kB / 0.6846 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1474, allocations: 10.03 kB / 0.6846 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1474, allocations: 0 / 0.6846 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1474, allocations: 0 / 0.6846 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1476, allocations: 20.36 kB / 0.6846 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1476, allocations: 7.938 kB / 0.6846 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1477, allocations: 27.77 kB / 0.6847 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1477, allocations: 0 / 0.6847 GB, free: 1.473 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.0001269/0.1479, allocations: 138.4 kB / 0.6848 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.1479, allocations: 27.72 kB / 0.6848 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.148, allocations: 29.78 kB / 0.6848 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.148, allocations: 3.984 kB / 0.6848 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.148, allocations: 0 / 0.6848 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.148, allocations: 3.938 kB / 0.6848 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.1483, allocations: 293.4 kB / 0.6851 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1483, allocations: 0 / 0.6851 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1484, allocations: 19.98 kB / 0.6851 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1485, allocations: 0 / 0.6851 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1485, allocations: 4 kB / 0.6852 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1485, allocations: 4 kB / 0.6852 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1485, allocations: 0 / 0.6852 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.1488, allocations: 235.1 kB / 0.6854 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/0.1489, allocations: 100.8 kB / 0.6855 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1489, allocations: 0 / 0.6855 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1491, allocations: 15.98 kB / 0.6855 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.1492, allocations: 19.86 kB / 0.6855 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.1492, allocations: 4 kB / 0.6855 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001888/0.1494, allocations: 198 kB / 0.6857 GB, free: 312 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1494, allocations: 0 / 0.6857 GB, free: 312 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000269/0.1496, allocations: 43.84 kB / 0.6857 GB, free: 268 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 9.772e-05/0.1497, allocations: 99.25 kB / 0.6858 GB, free: 160 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.15, allocations: 95.89 kB / 0.6859 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.15, allocations: 0 / 0.6859 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1502, allocations: 55.84 kB / 0.686 GB, free: 8 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1505, allocations: 43.44 kB / 0.686 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008856/0.1514, allocations: 450 kB / 0.6865 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1518, allocations: 0.7476 MB / 0.6872 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.1519, allocations: 23.42 kB / 0.6872 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1519, allocations: 0 / 0.6872 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.005383/0.1573, allocations: 2.853 MB / 0.69 GB, free: 11.86 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)