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.001301/0.001301, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001424/0.001424, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.886/0.886, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.5653/0.5653, allocations: 110.2 MB / 371.3 MB, free: 12.38 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.062e-06/1.062e-06, allocations: 0 / 475.6 MB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.348e-06/1.041e-05, allocations: 3.016 kB / 475.6 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002005/0.002016, allocations: 2.579 MB / 478.1 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006264/0.002642, allocations: 0.6854 MB / 478.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.002747, allocations: 11.88 kB / 478.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.002865, allocations: 52.31 kB / 478.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.483e-05/0.00296, allocations: 77.42 kB / 479 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.003142, allocations: 103 kB / 479.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.003329, allocations: 341.6 kB / 479.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.003474, allocations: 119.1 kB / 479.5 MB, free: 12.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.003654, allocations: 182.1 kB / 479.7 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.003748, allocations: 101.4 kB / 479.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.003776, allocations: 27.34 kB / 479.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.003827, allocations: 37.81 kB / 479.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.003852, allocations: 67.52 kB / 479.9 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.0039, allocations: 93.62 kB / 480 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004068, allocations: 214.1 kB / 480.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004069, allocations: 1.031 kB / 480.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00407, allocations: 0 / 480.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.004074, allocations: 0 / 480.2 MB, free: 12.22 MB / 410.7 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.0003897/0.004463, allocations: 0.6092 MB / 480.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.004493, allocations: 8.25 kB / 480.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.00462, allocations: 67.45 kB / 480.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.004793, allocations: 253.5 kB / 481.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.004811, allocations: 20 kB / 481.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.004828, allocations: 23.59 kB / 481.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.00498, allocations: 159.4 kB / 481.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004987, allocations: 0.6875 kB / 481.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.005, allocations: 14.48 kB / 481.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.005006, allocations: 11 kB / 481.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.005082, allocations: 60.27 kB / 481.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.005553, allocations: 0.5698 MB / 482 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.005692, allocations: 75.05 kB / 482.1 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.00572, allocations: 22.14 kB / 482.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.005733, allocations: 7.25 kB / 482.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.036e-05/0.005744, allocations: 42.89 kB / 482.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.005745, allocations: 0 / 482.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001337/0.005879, allocations: 89.64 kB / 482.2 MB, free: 10.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.282e-05/0.005891, allocations: 54.19 kB / 482.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.006048, allocations: 271.7 kB / 482.6 MB, free: 26.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.006057, allocations: 29.7 kB / 482.6 MB, free: 26.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.006122, allocations: 235.1 kB / 482.8 MB, free: 26.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.006137, allocations: 35.84 kB / 482.9 MB, free: 26.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.006172, allocations: 32.81 kB / 482.9 MB, free: 26.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.006263, allocations: 0.4987 MB / 483.4 MB, free: 25.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.006284, allocations: 7.75 kB / 483.4 MB, free: 25.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.006318, allocations: 52.8 kB / 483.4 MB, free: 25.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.006371, allocations: 60.61 kB / 483.5 MB, free: 25.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006372, allocations: 3.938 kB / 483.5 MB, free: 25.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.338e-05/0.006466, allocations: 102.1 kB / 483.6 MB, free: 25.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.006475, allocations: 6.156 kB / 483.6 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.006479, allocations: 4 kB / 483.6 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.006487, allocations: 2.344 kB / 483.6 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.006557, allocations: 30.17 kB / 483.7 MB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.00656, allocations: 0.5625 kB / 483.7 MB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.006603, allocations: 15.53 kB / 483.7 MB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.00661, allocations: 4.438 kB / 483.7 MB, free: 25.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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 6.664e-05/0.006677, allocations: 167.1 kB / 483.8 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.0067, allocations: 26.84 kB / 483.9 MB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.006725, allocations: 25 kB / 483.9 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006727, allocations: 3.328 kB / 483.9 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.006728, allocations: 0 / 483.9 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.00673, allocations: 0 / 483.9 MB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.006847, allocations: 156.7 kB / 484 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.00685, allocations: 1.062 kB / 484 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.006894, allocations: 25.25 kB / 484.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006896, allocations: 7.906 kB / 484.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.006902, allocations: 0 / 484.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006903, allocations: 0 / 484.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006903, allocations: 0.8438 kB / 484.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.007141, allocations: 239.9 kB / 484.3 MB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.007171, allocations: 24.47 kB / 484.3 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.007195, allocations: 4.688 kB / 484.3 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.007342, allocations: 4.125 kB / 484.3 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.007391, allocations: 13.89 kB / 484.4 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.0074, allocations: 2.656 kB / 484.4 MB, free: 25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.007515, allocations: 177.4 kB / 484.5 MB, free: 24.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007515, allocations: 0.6562 kB / 484.5 MB, free: 24.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.00783, allocations: 58.42 kB / 484.6 MB, free: 24.85 MB / 426.7 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 9.165e-05/0.007922, allocations: 92.59 kB / 484.7 MB, free: 24.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.008071, allocations: 65.53 kB / 484.7 MB, free: 24.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008073, allocations: 0 / 484.7 MB, free: 24.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.008128, allocations: 33.44 kB / 484.8 MB, free: 24.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.008315, allocations: 27.31 kB / 484.8 MB, free: 24.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.008903, allocations: 424 kB / 485.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.008932, allocations: 76.55 kB / 485.3 MB, free: 24.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.00898, allocations: 15.92 kB / 485.3 MB, free: 24.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.00906, allocations: 103.5 kB / 485.4 MB, free: 24.28 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00906, allocations: 0 / 485.4 MB, free: 24.28 MB / 426.7 MB Notification: Performance of Templates: time 0.003227/0.01229, allocations: 1.773 MB / 487.2 MB, free: 24.11 MB / 426.7 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0865029701963067]