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.0009376/0.0009376, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.000884/0.000884, allocations: 177.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.9072/0.9072, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 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.5331/0.5331, allocations: 110.2 MB / 370.2 MB, free: 12.62 MB / 346.7 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 1.433e-06/1.433e-06, allocations: 0 / 0.5484 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.374e-05, allocations: 2.281 kB / 0.5484 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002649/0.002673, allocations: 2.44 MB / 0.5508 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.003575, allocations: 0.6738 MB / 0.5515 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.003713, allocations: 11.94 kB / 0.5515 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.003872, allocations: 55.39 kB / 0.5515 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.003993, allocations: 79.2 kB / 0.5516 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.004264, allocations: 99.81 kB / 0.5517 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.004533, allocations: 338.5 kB / 0.552 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.004738, allocations: 117.7 kB / 0.5521 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.00498, allocations: 183.6 kB / 0.5523 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005093, allocations: 99.62 kB / 0.5524 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.005125, allocations: 28 kB / 0.5524 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.005191, allocations: 32 kB / 0.5525 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.005229, allocations: 59.77 kB / 0.5525 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.005294, allocations: 95.75 kB / 0.5526 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.005601, allocations: 362.8 kB / 0.553 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005603, allocations: 0 / 0.553 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005604, allocations: 4 kB / 0.553 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.00561, allocations: 0 / 0.553 GB, free: 4.711 MB / 0.5105 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.0005969/0.006207, allocations: 0.4973 MB / 0.5535 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.006248, allocations: 8.031 kB / 0.5535 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.006398, allocations: 52.69 kB / 0.5535 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.006985, allocations: 230.3 kB / 0.5537 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.007007, allocations: 20.88 kB / 0.5538 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.007032, allocations: 24.38 kB / 0.5538 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.007323, allocations: 216.6 kB / 0.554 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007334, allocations: 4.188 kB / 0.554 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.007353, allocations: 8.375 kB / 0.554 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.007362, allocations: 11.94 kB / 0.554 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.007586, allocations: 169.9 kB / 0.5542 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.008294, allocations: 0.5738 MB / 0.5547 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.008552, allocations: 106.7 kB / 0.5548 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.008625, allocations: 48.91 kB / 0.5549 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.00864, allocations: 8.188 kB / 0.5549 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.00866, allocations: 38.48 kB / 0.5549 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.008662, allocations: 0 / 0.5549 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003091/0.008971, allocations: 169.4 kB / 0.5551 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.009003, allocations: 51.41 kB / 0.5551 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.009148, allocations: 208.2 kB / 0.5553 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.009162, allocations: 26.08 kB / 0.5554 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.009247, allocations: 184.2 kB / 0.5555 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.009269, allocations: 31.73 kB / 0.5556 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.009308, allocations: 29.72 kB / 0.5556 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.009398, allocations: 338.7 kB / 0.5559 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.009459, allocations: 35.98 kB / 0.556 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.009515, allocations: 39.97 kB / 0.556 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.009634, allocations: 84.98 kB / 0.5561 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009636, allocations: 0 / 0.5561 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001677/0.009803, allocations: 141.4 kB / 0.5562 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.009814, allocations: 8 kB / 0.5562 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.009819, allocations: 3.984 kB / 0.5562 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.009831, allocations: 0 / 0.5562 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.00991, allocations: 19.98 kB / 0.5562 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.009916, allocations: 4 kB / 0.5562 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.009965, allocations: 11.92 kB / 0.5563 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.009975, allocations: 8 kB / 0.5563 GB, free: 1.172 MB / 0.5105 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.237e-05/0.01007, allocations: 137.7 kB / 0.5564 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.01009, allocations: 23.86 kB / 0.5564 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.01012, allocations: 25.45 kB / 0.5564 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01012, allocations: 0 / 0.5564 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01013, allocations: 0 / 0.5564 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01013, allocations: 4 kB / 0.5564 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.0103, allocations: 205.2 kB / 0.5566 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0103, allocations: 0 / 0.5566 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.01035, allocations: 19.98 kB / 0.5567 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01035, allocations: 0 / 0.5567 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01036, allocations: 4 kB / 0.5567 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.01036, allocations: 4 kB / 0.5567 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01036, allocations: 3.938 kB / 0.5567 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.01055, allocations: 231.2 kB / 0.5569 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.01057, allocations: 19.84 kB / 0.5569 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.01058, allocations: 0 / 0.5569 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.01064, allocations: 11.98 kB / 0.5569 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.01069, allocations: 19.97 kB / 0.5569 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.0107, allocations: 0 / 0.5569 GB, free: 428 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.141e-05/0.01078, allocations: 153.6 kB / 0.5571 GB, free: 276 kB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01078, allocations: 4 kB / 0.5571 GB, free: 272 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001692/0.01095, allocations: 51.94 kB / 0.5571 GB, free: 220 kB / 0.5105 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 6.967e-05/0.01102, allocations: 107.1 kB / 0.5572 GB, free: 100 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.01118, allocations: 87.89 kB / 0.5573 GB, free: 12 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01119, allocations: 4 kB / 0.5573 GB, free: 8 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.01126, allocations: 40.05 kB / 0.5574 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.01148, allocations: 37.28 kB / 0.5574 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.01198, allocations: 433.4 kB / 0.5578 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.373e-05/0.01208, allocations: 142.4 kB / 0.558 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.01213, allocations: 20.48 kB / 0.558 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.01213, allocations: 0 / 0.558 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.003325/0.01545, allocations: 2.602 MB / 0.5605 GB, free: 12.7 MB / 0.5261 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: 4.9720992697402835] Failed to read output from testmodel.py, exit status != 0: 0.02080694679170847 0.028513224 0.021267001 Calling exit ...