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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 104.6 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 193.2 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.801/0.801, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2936, allocations: 82.02 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002904/0.2965, allocations: 2.567 MB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007311/0.2973, allocations: 0.6224 MB / 0.5988 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2974, allocations: 4.75 kB / 0.5988 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.2976, allocations: 55.39 kB / 0.5988 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2977, allocations: 69.91 kB / 0.5989 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.2979, allocations: 91.83 kB / 0.599 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.2982, allocations: 323.7 kB / 0.5993 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.2984, allocations: 178.6 kB / 0.5995 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2986, allocations: 120.3 kB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.2987, allocations: 132.7 kB / 0.5997 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2987, allocations: 28 kB / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.2987, allocations: 28 kB / 0.5998 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.2988, allocations: 67.75 kB / 0.5998 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.2989, allocations: 140.8 kB / 0.6 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.2991, allocations: 348.4 kB / 0.6003 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2991, allocations: 0 / 0.6003 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2991, allocations: 0 / 0.6003 GB, free: 11.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2991, allocations: 0.5625 kB / 0.6003 GB, free: 11.39 MB / 446.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.0006191/0.2998, allocations: 0.5707 MB / 0.6008 GB, free: 10.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2998, allocations: 9.438 kB / 0.6009 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.2999, allocations: 32.56 kB / 0.6009 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3001, allocations: 281.9 kB / 0.6012 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3002, allocations: 20.94 kB / 0.6012 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3002, allocations: 24.38 kB / 0.6012 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3005, allocations: 221.9 kB / 0.6014 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3005, allocations: 4 kB / 0.6014 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.3006, allocations: 10 kB / 0.6014 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.3006, allocations: 8 kB / 0.6014 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3009, allocations: 162.2 kB / 0.6016 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.3017, allocations: 0.8772 MB / 0.6024 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3021, allocations: 121.4 kB / 0.6026 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3022, allocations: 56.78 kB / 0.6026 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3022, allocations: 1.5 kB / 0.6026 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.3022, allocations: 38.56 kB / 0.6027 GB, free: 8.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.3022, allocations: 1.344 kB / 0.6027 GB, free: 8.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000359/0.3026, allocations: 173.4 kB / 0.6028 GB, free: 8.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.3026, allocations: 52.5 kB / 0.6029 GB, free: 8.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3028, allocations: 286.9 kB / 0.6031 GB, free: 8.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3028, allocations: 26.73 kB / 0.6032 GB, free: 8.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.3029, allocations: 172.1 kB / 0.6033 GB, free: 8.055 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3029, allocations: 36.86 kB / 0.6034 GB, free: 8.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.303, allocations: 21.72 kB / 0.6034 GB, free: 7.992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.303, allocations: 334.8 kB / 0.6037 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.3031, allocations: 37.33 kB / 0.6037 GB, free: 7.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.3032, allocations: 35.97 kB / 0.6038 GB, free: 7.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3034, allocations: 87.64 kB / 0.6039 GB, free: 7.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3034, allocations: 1.281 kB / 0.6039 GB, free: 7.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.3036, allocations: 147.5 kB / 0.604 GB, free: 7.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3037, allocations: 5.312 kB / 0.604 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3037, allocations: 0 / 0.604 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3037, allocations: 4 kB / 0.604 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3038, allocations: 20.92 kB / 0.604 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3038, allocations: 0 / 0.604 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3039, allocations: 25.14 kB / 0.6041 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.304, allocations: 8 kB / 0.6041 GB, free: 7.293 MB / 446.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 7.98e-05/0.304, allocations: 127.2 kB / 0.6042 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.3041, allocations: 27.7 kB / 0.6042 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.3041, allocations: 29.78 kB / 0.6042 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3041, allocations: 1.438 kB / 0.6042 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3042, allocations: 0 / 0.6042 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3042, allocations: 3.938 kB / 0.6042 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3044, allocations: 289.4 kB / 0.6045 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3044, allocations: 5.312 kB / 0.6045 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3045, allocations: 27.91 kB / 0.6046 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3045, allocations: 5.812 kB / 0.6046 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3045, allocations: 0 / 0.6046 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3045, allocations: 0 / 0.6046 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3045, allocations: 0 / 0.6046 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3048, allocations: 240.5 kB / 0.6048 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.3048, allocations: 97.7 kB / 0.6049 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3049, allocations: 11.98 kB / 0.6049 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.305, allocations: 9.141 kB / 0.6049 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.3051, allocations: 11.94 kB / 0.6049 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3051, allocations: 9.266 kB / 0.6049 GB, free: 6.328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3052, allocations: 198 kB / 0.6051 GB, free: 6.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.3052, allocations: 0 / 0.6051 GB, free: 6.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.3055, allocations: 48.88 kB / 0.6052 GB, free: 6.09 MB / 446.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 6.253e-05/0.3055, allocations: 100.1 kB / 0.6053 GB, free: 5.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3058, allocations: 88.45 kB / 0.6053 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3058, allocations: 1.219 kB / 0.6053 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.3059, allocations: 47.92 kB / 0.6054 GB, free: 5.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3062, allocations: 52.75 kB / 0.6054 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.3067, allocations: 405.9 kB / 0.6058 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.3069, allocations: 0.7511 MB / 0.6066 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.307, allocations: 24.09 kB / 0.6066 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.307, allocations: 23.42 kB / 0.6066 GB, free: 4.555 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.307, allocations: 5.125 kB / 0.6066 GB, free: 4.551 MB / 446.1 MB Notification: Performance of Templates: time 0.004319/0.3114, allocations: 2.208 MB / 0.6088 GB, free: 2.441 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile (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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)