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: "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) 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: 98.27 kB / 15.36 MB, free: 0.7344 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.00508/0.005081, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.332 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 0.8861/0.8861, allocations: 143.2 MB / 434.6 MB, free: 13.57 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 12 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 83.41 MB / 0.5979 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.00243/0.1401, allocations: 2.232 MB / 0.6001 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000898/0.141, allocations: 0.596 MB / 0.6007 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1412, allocations: 15.94 kB / 0.6007 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1413, allocations: 31.72 kB / 0.6007 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1415, allocations: 63.45 kB / 0.6008 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.1416, allocations: 71.94 kB / 0.6009 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.1419, allocations: 302.7 kB / 0.6012 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.1422, allocations: 161.4 kB / 0.6013 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1423, allocations: 87.58 kB / 0.6014 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1424, allocations: 115.3 kB / 0.6015 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1425, allocations: 8 kB / 0.6015 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.699e-05/0.1425, allocations: 12 kB / 0.6015 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.1426, allocations: 39.78 kB / 0.6016 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1427, allocations: 141 kB / 0.6017 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1429, allocations: 322.7 kB / 0.602 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1429, allocations: 0 / 0.602 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1429, allocations: 0 / 0.602 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1429, allocations: 0 / 0.602 GB, free: 3.383 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.000623/0.1436, allocations: 0.5301 MB / 0.6025 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1436, allocations: 8.031 kB / 0.6025 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.1437, allocations: 58.72 kB / 0.6026 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1437, allocations: 32.56 kB / 0.6026 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.144, allocations: 271.6 kB / 0.6029 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.144, allocations: 20.94 kB / 0.6029 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.144, allocations: 24.38 kB / 0.6029 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1444, allocations: 221 kB / 0.6031 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1444, allocations: 8 kB / 0.6031 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1445, allocations: 8 kB / 0.6032 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1445, allocations: 8 kB / 0.6032 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.1448, allocations: 166.2 kB / 0.6033 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1458, allocations: 0.8989 MB / 0.6042 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1462, allocations: 118.7 kB / 0.6043 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1463, allocations: 61.03 kB / 0.6044 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.1463, allocations: 0 / 0.6044 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.1463, allocations: 34.56 kB / 0.6044 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.1464, allocations: 0 / 0.6044 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004136/0.1468, allocations: 189.2 kB / 0.6046 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1468, allocations: 55.41 kB / 0.6046 GB, free: 480 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.1471, allocations: 283 kB / 0.6049 GB, free: 188 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1471, allocations: 25.7 kB / 0.6049 GB, free: 156 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2257/0.3728, allocations: 168 kB / 0.6051 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.3729, allocations: 30.66 kB / 0.6051 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3729, allocations: 19.28 kB / 0.6051 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.373, allocations: 332 kB / 0.6055 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3732, allocations: 42.52 kB / 0.6055 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3733, allocations: 42.75 kB / 0.6055 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.3735, allocations: 96.38 kB / 0.6056 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3735, allocations: 0.5312 kB / 0.6056 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002983/0.3738, allocations: 152.8 kB / 0.6058 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3738, allocations: 3.562 kB / 0.6058 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3739, allocations: 3.75 kB / 0.6058 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3739, allocations: 0 / 0.6058 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.374, allocations: 22.8 kB / 0.6058 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.374, allocations: 6.188 kB / 0.6058 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3742, allocations: 30.66 kB / 0.6058 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3742, allocations: 5.938 kB / 0.6058 GB, free: 40.61 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 9.526e-05/0.3743, allocations: 138.7 kB / 0.606 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.3743, allocations: 25.44 kB / 0.606 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.3744, allocations: 27.94 kB / 0.606 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3744, allocations: 7.188 kB / 0.606 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3744, allocations: 0.5625 kB / 0.606 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3744, allocations: 0 / 0.606 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.3747, allocations: 292.8 kB / 0.6063 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3747, allocations: 0.9375 kB / 0.6063 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3748, allocations: 20.33 kB / 0.6063 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3748, allocations: 3.859 kB / 0.6063 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3748, allocations: 3.594 kB / 0.6063 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3748, allocations: 7.781 kB / 0.6063 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3748, allocations: 2.688 kB / 0.6064 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3751, allocations: 239.3 kB / 0.6066 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.3751, allocations: 102.6 kB / 0.6067 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3751, allocations: 2.5 kB / 0.6067 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3753, allocations: 18.92 kB / 0.6067 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3753, allocations: 10.25 kB / 0.6067 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3754, allocations: 6.594 kB / 0.6067 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001329/0.3755, allocations: 199.3 kB / 0.6069 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3755, allocations: 0 / 0.6069 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002466/0.3758, allocations: 51.09 kB / 0.607 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 0.0003837/0.3761, allocations: 0.7761 MB / 0.6077 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3764, allocations: 97.12 kB / 0.6078 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3764, allocations: 2.781 kB / 0.6078 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3765, allocations: 59.23 kB / 0.6079 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3769, allocations: 40.64 kB / 0.6079 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.3788, allocations: 2.317 MB / 0.6102 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.379, allocations: 0.7507 MB / 0.6109 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.735e-05/0.3791, allocations: 18.7 kB / 0.6109 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.3792, allocations: 80 kB / 0.611 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3792, allocations: 0 / 0.611 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.3917, allocations: 4.098 MB / 0.615 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.3919, allocations: 204.4 kB / 0.6152 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.021, allocations: 2.625 kB / 0.6152 GB, free: 36.68 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)