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.0008548/0.0008548, allocations: 88.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008574/0.0008575, allocations: 187.8 kB / 16.93 MB, free: 6.891 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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 1.017/1.017, allocations: 143.2 MB / 435.3 MB, free: 13.72 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003576, allocations: 8 kB / 0.517 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 83.42 MB / 0.5985 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002962/0.196, allocations: 2.236 MB / 0.6007 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009683/0.197, allocations: 0.5961 MB / 0.6013 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.1972, allocations: 7.938 kB / 0.6013 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.1973, allocations: 39.64 kB / 0.6013 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1975, allocations: 63.47 kB / 0.6014 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1977, allocations: 75.94 kB / 0.6014 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.1981, allocations: 302.7 kB / 0.6017 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.1983, allocations: 157.1 kB / 0.6019 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1985, allocations: 91.52 kB / 0.602 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1987, allocations: 111.3 kB / 0.6021 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.1987, allocations: 12 kB / 0.6021 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.079e-05/0.1988, allocations: 8 kB / 0.6021 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1988, allocations: 35.8 kB / 0.6021 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1989, allocations: 141 kB / 0.6023 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1992, allocations: 247.6 kB / 0.6025 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1992, allocations: 4 kB / 0.6025 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1992, allocations: 0 / 0.6025 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1992, allocations: 0 / 0.6025 GB, free: 3.562 MB / 0.4981 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.0007882/0.2, allocations: 0.5263 MB / 0.603 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2001, allocations: 8.031 kB / 0.603 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.2001, allocations: 36.56 kB / 0.6031 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.2005, allocations: 279.5 kB / 0.6033 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.2005, allocations: 16.94 kB / 0.6033 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.2005, allocations: 28.31 kB / 0.6034 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.201, allocations: 225.2 kB / 0.6036 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.201, allocations: 3.984 kB / 0.6036 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.201, allocations: 8 kB / 0.6036 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.201, allocations: 8 kB / 0.6036 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.2014, allocations: 178.1 kB / 0.6038 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2026, allocations: 0.8872 MB / 0.6046 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.203, allocations: 122.7 kB / 0.6047 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.2031, allocations: 60.83 kB / 0.6048 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2032, allocations: 0 / 0.6048 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2032, allocations: 34.56 kB / 0.6048 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.2032, allocations: 4 kB / 0.6048 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004758/0.2037, allocations: 181.5 kB / 0.605 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2037, allocations: 51.41 kB / 0.6051 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.204, allocations: 287 kB / 0.6053 GB, free: 432 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2041, allocations: 25.7 kB / 0.6054 GB, free: 400 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2042, allocations: 176 kB / 0.6055 GB, free: 220 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.2042, allocations: 27.56 kB / 0.6056 GB, free: 192 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2043, allocations: 13.7 kB / 0.6056 GB, free: 172 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.3429/0.5471, allocations: 338.8 kB / 0.6059 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.5474, allocations: 33.25 kB / 0.6059 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.5476, allocations: 43.27 kB / 0.606 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.5478, allocations: 97.67 kB / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5478, allocations: 0 / 0.6061 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000373/0.5482, allocations: 154.1 kB / 0.6062 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5482, allocations: 7.344 kB / 0.6062 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5483, allocations: 0 / 0.6062 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5483, allocations: 1.312 kB / 0.6062 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5484, allocations: 22.53 kB / 0.6062 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5485, allocations: 2.125 kB / 0.6062 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.5486, allocations: 30.72 kB / 0.6063 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.5486, allocations: 4.438 kB / 0.6063 GB, free: 40.58 MB / 0.4981 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 0.0001479/0.5488, allocations: 137.9 kB / 0.6064 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.5488, allocations: 23.3 kB / 0.6064 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.5489, allocations: 28.61 kB / 0.6065 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5489, allocations: 0.6562 kB / 0.6065 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5489, allocations: 4.344 kB / 0.6065 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5489, allocations: 1.484 kB / 0.6065 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.5492, allocations: 293.2 kB / 0.6067 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5492, allocations: 0.5312 kB / 0.6067 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.5494, allocations: 23.33 kB / 0.6068 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5494, allocations: 3.5 kB / 0.6068 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.5494, allocations: 7.016 kB / 0.6068 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5494, allocations: 4.031 kB / 0.6068 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5494, allocations: 3.938 kB / 0.6068 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.5497, allocations: 236.3 kB / 0.607 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.5498, allocations: 103 kB / 0.6071 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.5498, allocations: 2.75 kB / 0.6071 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.55, allocations: 19.69 kB / 0.6071 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.55, allocations: 16.83 kB / 0.6071 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.55, allocations: 0 / 0.6071 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000185/0.5502, allocations: 200 kB / 0.6073 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5502, allocations: 0.8438 kB / 0.6073 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002659/0.5505, allocations: 53.56 kB / 0.6074 GB, free: 39.96 MB / 0.4981 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 7.878e-05/0.5506, allocations: 97.12 kB / 0.6075 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.5509, allocations: 104.1 kB / 0.6076 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5509, allocations: 3.625 kB / 0.6076 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.551, allocations: 46.16 kB / 0.6076 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.5514, allocations: 39.73 kB / 0.6077 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.5521, allocations: 0.5349 MB / 0.6082 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.5523, allocations: 0.7538 MB / 0.6089 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.5524, allocations: 22.8 kB / 0.6089 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.5524, allocations: 0 / 0.6089 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.004292/0.5567, allocations: 2.747 MB / 0.6116 GB, free: 38.67 MB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)