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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 186.9 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8594/0.8594, allocations: 145 MB / 451.2 MB, free: 5.438 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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=12,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 72.38 kB / 0.6253 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1427, allocations: 86.7 MB / 0.71 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003699/0.1464, allocations: 2.582 MB / 0.7125 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009235/0.1473, allocations: 0.6233 MB / 0.7131 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1474, allocations: 15.94 kB / 0.7131 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.1476, allocations: 55.39 kB / 0.7132 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1477, allocations: 67.34 kB / 0.7132 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.148, allocations: 95.77 kB / 0.7133 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1483, allocations: 322.5 kB / 0.7136 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1485, allocations: 129.6 kB / 0.7137 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1487, allocations: 115.6 kB / 0.7139 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1489, allocations: 139.3 kB / 0.714 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.1489, allocations: 28 kB / 0.714 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.725e-05/0.149, allocations: 28 kB / 0.714 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.149, allocations: 67.75 kB / 0.7141 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1492, allocations: 139.3 kB / 0.7142 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1495, allocations: 350.5 kB / 0.7146 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1495, allocations: 0 / 0.7146 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.103e-06/0.1495, allocations: 0 / 0.7146 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1495, allocations: 0 / 0.7146 GB, free: 4.07 MB / 0.5294 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.0007769/0.1503, allocations: 0.4935 MB / 0.7151 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1503, allocations: 16.02 kB / 0.7151 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.1504, allocations: 36.7 kB / 0.7151 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1507, allocations: 214 kB / 0.7153 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.1507, allocations: 24.88 kB / 0.7153 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1508, allocations: 24.38 kB / 0.7154 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.1512, allocations: 224.3 kB / 0.7156 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1512, allocations: 0 / 0.7156 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.1512, allocations: 12 kB / 0.7156 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1513, allocations: 4 kB / 0.7156 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.1516, allocations: 161.9 kB / 0.7157 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1528, allocations: 0.8486 MB / 0.7166 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.1532, allocations: 110.6 kB / 0.7167 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1533, allocations: 52.91 kB / 0.7167 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1533, allocations: 11.91 kB / 0.7167 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1533, allocations: 38.5 kB / 0.7168 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1533, allocations: 0 / 0.7168 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004462/0.1538, allocations: 173.6 kB / 0.7169 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.1538, allocations: 55.34 kB / 0.717 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.1541, allocations: 284.2 kB / 0.7173 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1541, allocations: 25.7 kB / 0.7173 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1542, allocations: 176.2 kB / 0.7174 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1543, allocations: 31.73 kB / 0.7175 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.1543, allocations: 21.72 kB / 0.7175 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1545, allocations: 334.8 kB / 0.7178 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1546, allocations: 39.97 kB / 0.7179 GB, free: 496 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.98e-05/0.1547, allocations: 35.98 kB / 0.7179 GB, free: 460 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1549, allocations: 88.98 kB / 0.718 GB, free: 368 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1549, allocations: 0 / 0.718 GB, free: 368 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002905/0.1552, allocations: 149.3 kB / 0.7181 GB, free: 212 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1552, allocations: 4 kB / 0.7181 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1552, allocations: 4 kB / 0.7181 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1552, allocations: 0 / 0.7181 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1553, allocations: 23.98 kB / 0.7182 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1554, allocations: 0 / 0.7182 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1555, allocations: 27.75 kB / 0.7182 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1555, allocations: 8 kB / 0.7182 GB, free: 144 kB / 0.5294 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.0001184/0.1556, allocations: 133.8 kB / 0.7183 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.1557, allocations: 27.98 kB / 0.7183 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.1558, allocations: 25.8 kB / 0.7184 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1558, allocations: 0 / 0.7184 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1558, allocations: 11.98 kB / 0.7184 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1558, allocations: 3.75 kB / 0.7184 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.1561, allocations: 260.5 kB / 0.7186 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1561, allocations: 0 / 0.7186 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1562, allocations: 19.98 kB / 0.7186 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1562, allocations: 0 / 0.7186 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1562, allocations: 384 / 0.7186 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1562, allocations: 0 / 0.7186 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.1562, allocations: 3.938 kB / 0.7186 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1565, allocations: 239.2 kB / 0.7189 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1566, allocations: 27.8 kB / 0.7189 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1566, allocations: 4 kB / 0.7189 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1568, allocations: 11.98 kB / 0.7189 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.1568, allocations: 15.92 kB / 0.7189 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1568, allocations: 4 kB / 0.7189 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001938/0.157, allocations: 211 kB / 0.7191 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.157, allocations: 0 / 0.7191 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002644/0.1573, allocations: 43.89 kB / 0.7192 GB, free: 15.05 MB / 0.545 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.508e-05/0.1574, allocations: 95.25 kB / 0.7193 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1576, allocations: 87.89 kB / 0.7194 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1576, allocations: 0 / 0.7194 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1578, allocations: 51.91 kB / 0.7194 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.1581, allocations: 43.14 kB / 0.7194 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.1587, allocations: 428.3 kB / 0.7199 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1591, allocations: 0.7476 MB / 0.7206 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.418e-05/0.1592, allocations: 26.22 kB / 0.7206 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.1592, allocations: 23.44 kB / 0.7206 GB, free: 13.5 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1592, allocations: 0 / 0.7206 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Templates: time 0.005465/0.1647, allocations: 2.3 MB / 0.7229 GB, free: 11.23 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.161500041373074] Failed to read output from testmodel.py, exit status != 0: 0.1717324536293745 0.18555247499999994 0.033224174 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1c99cad7b0>