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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 158.2 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.9655/0.9655, allocations: 110.2 MB / 369.4 MB, free: 1.152 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.766e-06/2.766e-06, allocations: 0 / 0.5477 GB, free: 9.871 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.684e-05/4.96e-05, allocations: 2.281 kB / 0.5477 GB, free: 9.867 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.006017/0.006067, allocations: 2.447 MB / 0.5501 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.007906, allocations: 0.6762 MB / 0.5508 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.008294, allocations: 7.938 kB / 0.5508 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.008574, allocations: 51.45 kB / 0.5508 GB, free: 6.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.008916, allocations: 73.53 kB / 0.5509 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.009456, allocations: 107.8 kB / 0.551 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006888/0.01014, allocations: 342.5 kB / 0.5513 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.01048, allocations: 117.6 kB / 0.5514 GB, free: 6.051 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.01096, allocations: 191.6 kB / 0.5516 GB, free: 5.863 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.01118, allocations: 87.7 kB / 0.5517 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.01124, allocations: 28 kB / 0.5517 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.01135, allocations: 35.94 kB / 0.5517 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.01142, allocations: 63.75 kB / 0.5518 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.01158, allocations: 95.75 kB / 0.5519 GB, free: 5.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.01225, allocations: 350.9 kB / 0.5522 GB, free: 5.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.01225, allocations: 0 / 0.5522 GB, free: 5.215 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01225, allocations: 4 kB / 0.5522 GB, free: 5.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.01227, allocations: 3.938 kB / 0.5522 GB, free: 5.207 MB / 462.1 MB 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.001161/0.01343, allocations: 0.5051 MB / 0.5527 GB, free: 4.672 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.01348, allocations: 8.031 kB / 0.5527 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.01376, allocations: 56.66 kB / 0.5528 GB, free: 4.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.01425, allocations: 226.3 kB / 0.553 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.01428, allocations: 16.88 kB / 0.553 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.01433, allocations: 24.38 kB / 0.5531 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.01482, allocations: 216.6 kB / 0.5533 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01484, allocations: 192 / 0.5533 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.01487, allocations: 16.31 kB / 0.5533 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.01488, allocations: 11.92 kB / 0.5533 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.01529, allocations: 165.9 kB / 0.5534 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.01656, allocations: 0.57 MB / 0.554 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.01701, allocations: 114.7 kB / 0.5541 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.01716, allocations: 48.83 kB / 0.5542 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.01719, allocations: 4 kB / 0.5542 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.01723, allocations: 38.56 kB / 0.5542 GB, free: 3.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.01723, allocations: 0 / 0.5542 GB, free: 3.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005455/0.01777, allocations: 169.6 kB / 0.5544 GB, free: 2.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.01786, allocations: 51.41 kB / 0.5544 GB, free: 2.855 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.01816, allocations: 208.2 kB / 0.5546 GB, free: 2.645 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.01819, allocations: 25.7 kB / 0.5546 GB, free: 2.613 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.01834, allocations: 180.2 kB / 0.5548 GB, free: 2.434 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.01838, allocations: 31.73 kB / 0.5548 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.01845, allocations: 33.7 kB / 0.5549 GB, free: 2.363 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.01864, allocations: 330.8 kB / 0.5552 GB, free: 2.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.01877, allocations: 39.97 kB / 0.5552 GB, free: 1.992 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01888, allocations: 39.92 kB / 0.5553 GB, free: 1.953 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.0191, allocations: 84.77 kB / 0.5553 GB, free: 1.867 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0191, allocations: 0 / 0.5553 GB, free: 1.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003145/0.01942, allocations: 133.5 kB / 0.5555 GB, free: 1.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.01944, allocations: 12 kB / 0.5555 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01944, allocations: 0 / 0.5555 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.01946, allocations: 0 / 0.5555 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.01961, allocations: 23.92 kB / 0.5555 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01962, allocations: 0 / 0.5555 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01974, allocations: 19.92 kB / 0.5555 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.01976, allocations: 8 kB / 0.5555 GB, free: 1.668 MB / 462.1 MB 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.000171/0.01993, allocations: 130.4 kB / 0.5556 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.01998, allocations: 23.86 kB / 0.5557 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.02005, allocations: 29.45 kB / 0.5557 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.02006, allocations: 0 / 0.5557 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.02007, allocations: 3.938 kB / 0.5557 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02007, allocations: 0 / 0.5557 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.02043, allocations: 209.2 kB / 0.5559 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02043, allocations: 0 / 0.5559 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.02057, allocations: 19.92 kB / 0.5559 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.02057, allocations: 4 kB / 0.5559 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.02059, allocations: 0 / 0.5559 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.02059, allocations: 4 kB / 0.5559 GB, free: 1.211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02059, allocations: 0 / 0.5559 GB, free: 1.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.02103, allocations: 239.6 kB / 0.5562 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.02108, allocations: 19.83 kB / 0.5562 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.02111, allocations: 0 / 0.5562 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.02129, allocations: 15.98 kB / 0.5562 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.02138, allocations: 7.984 kB / 0.5562 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.02139, allocations: 0 / 0.5562 GB, free: 0.918 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.02163, allocations: 153.6 kB / 0.5563 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02163, allocations: 4 kB / 0.5564 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.02197, allocations: 51.84 kB / 0.5564 GB, free: 0.7148 MB / 462.1 MB 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 0.0001736/0.02214, allocations: 107.2 kB / 0.5565 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.02252, allocations: 87.89 kB / 0.5566 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.02252, allocations: 0 / 0.5566 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.02267, allocations: 47.92 kB / 0.5566 GB, free: 480 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.0231, allocations: 30.69 kB / 0.5567 GB, free: 444 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02422, allocations: 399.9 kB / 0.557 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.02446, allocations: 142.4 kB / 0.5572 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.873e-05/0.02455, allocations: 13.48 kB / 0.5572 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.02462, allocations: 16.5 kB / 0.5572 GB, free: 15.83 MB / 478.1 MB Notification: Performance of SimCode: time 1.522e-06/0.02462, allocations: 4 kB / 0.5572 GB, free: 15.83 MB / 478.1 MB Notification: Performance of Templates: time 0.006757/0.03138, allocations: 1.588 MB / 0.5588 GB, free: 14.29 MB / 478.1 MB " [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.97986713424325] Failed to read output from testmodel.py, exit status != 0: 0.04229075461626053 0.05936736200000001 0.043650012 Calling exit ...