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.0009643/0.0009643, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001041/0.001041, allocations: 165 kB / 24.17 MB, free: 328 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.6325/0.6325, allocations: 110.3 MB / 371.3 MB, free: 12.34 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.452e-06/1.452e-06, allocations: 3.938 kB / 422.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.318e-05, allocations: 6.25 kB / 422.4 MB, free: 9.367 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.006697/0.00672, allocations: 2.625 MB / 425 MB, free: 6.723 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.01088, allocations: 0.6969 MB / 425.7 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.01105, allocations: 11.94 kB / 425.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.01122, allocations: 55.39 kB / 425.8 MB, free: 5.953 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.01138, allocations: 79.22 kB / 425.8 MB, free: 5.875 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.01164, allocations: 107.8 kB / 425.9 MB, free: 5.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.01196, allocations: 334.5 kB / 426.3 MB, free: 5.441 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.01217, allocations: 129.5 kB / 426.4 MB, free: 5.309 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.01244, allocations: 183.6 kB / 426.6 MB, free: 5.129 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.01259, allocations: 107.6 kB / 426.7 MB, free: 5.023 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.01263, allocations: 28 kB / 426.7 MB, free: 4.996 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.0127, allocations: 36 kB / 426.7 MB, free: 4.961 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.01275, allocations: 59.77 kB / 426.8 MB, free: 4.902 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.01283, allocations: 99.73 kB / 426.9 MB, free: 4.805 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.01309, allocations: 215.2 kB / 427.1 MB, free: 4.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.0131, allocations: 0 / 427.1 MB, free: 4.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0131, allocations: 0 / 427.1 MB, free: 4.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.0131, allocations: 0 / 427.1 MB, free: 4.594 MB / 394.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.003546/0.01665, allocations: 495.4 kB / 427.6 MB, free: 4.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.01668, allocations: 12.03 kB / 427.6 MB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.01687, allocations: 56.89 kB / 427.7 MB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.01715, allocations: 206.4 kB / 427.9 MB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.01717, allocations: 16.88 kB / 427.9 MB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.0172, allocations: 24.38 kB / 427.9 MB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.01741, allocations: 165.3 kB / 428.1 MB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01742, allocations: 4.125 kB / 428.1 MB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.01744, allocations: 12.38 kB / 428.1 MB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.01744, allocations: 7.938 kB / 428.1 MB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.77e-05/0.01754, allocations: 59.45 kB / 428.2 MB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.0182, allocations: 444.2 kB / 428.6 MB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.01839, allocations: 62.42 kB / 428.6 MB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.01842, allocations: 28.86 kB / 428.7 MB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.01844, allocations: 4 kB / 428.7 MB, free: 2.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.01846, allocations: 30.56 kB / 428.7 MB, free: 2.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.01846, allocations: 0 / 428.7 MB, free: 2.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001746/0.01863, allocations: 81.78 kB / 428.8 MB, free: 2.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.01866, allocations: 51.41 kB / 428.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.0188, allocations: 209 kB / 429 MB, free: 2.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.01881, allocations: 29.64 kB / 429.1 MB, free: 2.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.01889, allocations: 176.6 kB / 429.2 MB, free: 2.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.01892, allocations: 31.64 kB / 429.3 MB, free: 2.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.01897, allocations: 33.69 kB / 429.3 MB, free: 2.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.01906, allocations: 338.8 kB / 429.6 MB, free: 1.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.01908, allocations: 8 kB / 429.6 MB, free: 1.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.01912, allocations: 30.56 kB / 429.7 MB, free: 1.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.01919, allocations: 50.48 kB / 429.7 MB, free: 1.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0192, allocations: 0 / 429.7 MB, free: 1.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001231/0.01932, allocations: 85.53 kB / 429.8 MB, free: 1.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.01933, allocations: 4 kB / 429.8 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01934, allocations: 0 / 429.8 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01935, allocations: 8.062 kB / 429.8 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01945, allocations: 31.91 kB / 429.9 MB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.02247, allocations: 0 / 429.9 MB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.02253, allocations: 4 kB / 429.9 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.02254, allocations: 8 kB / 429.9 MB, free: 1.668 MB / 394.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 8.159e-05/0.02262, allocations: 113.8 kB / 430 MB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.02265, allocations: 19.92 kB / 430 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.02269, allocations: 21.77 kB / 430 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.02269, allocations: 0 / 430 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.02269, allocations: 8 kB / 430 MB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.0227, allocations: 0 / 430 MB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.02288, allocations: 137.7 kB / 430.2 MB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.02288, allocations: 0 / 430.2 MB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.02294, allocations: 23.92 kB / 430.2 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.02294, allocations: 3.938 kB / 430.2 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.02295, allocations: 4 kB / 430.2 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.02295, allocations: 4 kB / 430.2 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02295, allocations: 0 / 430.2 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.02307, allocations: 163.4 kB / 430.4 MB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.02308, allocations: 19.91 kB / 430.4 MB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.02309, allocations: 3.938 kB / 430.4 MB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.02314, allocations: 8 kB / 430.4 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.02318, allocations: 11.97 kB / 430.4 MB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.02319, allocations: 4 kB / 430.4 MB, free: 1.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.02323, allocations: 66.78 kB / 430.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02323, allocations: 0 / 430.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.02338, allocations: 55.78 kB / 430.5 MB, free: 0.9727 MB / 394.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 7.326e-05/0.02346, allocations: 80.41 kB / 430.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.02354, allocations: 48.78 kB / 430.6 MB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.02355, allocations: 4 kB / 430.6 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.154e-05/0.02358, allocations: 24.78 kB / 430.7 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.02375, allocations: 37.12 kB / 430.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.02444, allocations: 430.3 kB / 431.1 MB, free: 324 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.252e-05/0.02449, allocations: 75.83 kB / 431.2 MB, free: 228 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.02456, allocations: 17.48 kB / 431.2 MB, free: 212 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.02466, allocations: 83.33 kB / 431.3 MB, free: 128 kB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02466, allocations: 0 / 431.3 MB, free: 128 kB / 394.7 MB Notification: Performance of Templates: time 0.003779/0.02844, allocations: 1.733 MB / 433 MB, free: 14.39 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.399408317171037]