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.00125/0.00125, allocations: 108 kB / 15.61 MB, free: 152 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.00139/0.00139, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.8883/0.8883, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.5142 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, allocations: 82.04 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003433/0.1317, allocations: 2.563 MB / 0.5969 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.1327, allocations: 0.6116 MB / 0.5975 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.1329, allocations: 11.94 kB / 0.5975 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.1331, allocations: 51.45 kB / 0.5975 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.1332, allocations: 67.3 kB / 0.5976 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1335, allocations: 83.89 kB / 0.5977 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.1338, allocations: 326.7 kB / 0.598 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.134, allocations: 177.4 kB / 0.5982 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1342, allocations: 123.5 kB / 0.5983 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1344, allocations: 131.3 kB / 0.5984 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.1344, allocations: 28 kB / 0.5984 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.194e-05/0.1345, allocations: 32 kB / 0.5985 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1345, allocations: 63.72 kB / 0.5985 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1346, allocations: 139.3 kB / 0.5986 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.1349, allocations: 338.8 kB / 0.599 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1349, allocations: 0 / 0.599 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.505e-06/0.135, allocations: 0 / 0.599 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.135, allocations: 7.938 kB / 0.599 GB, free: 4.754 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.0007186/0.1357, allocations: 0.5691 MB / 0.5995 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1357, allocations: 8.031 kB / 0.5995 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.1358, allocations: 58.73 kB / 0.5996 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.1358, allocations: 36.47 kB / 0.5996 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1361, allocations: 271.8 kB / 0.5999 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1361, allocations: 16.94 kB / 0.5999 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1362, allocations: 20.38 kB / 0.5999 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1365, allocations: 228.9 kB / 0.6001 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1366, allocations: 0 / 0.6001 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1366, allocations: 15.92 kB / 0.6002 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1366, allocations: 12 kB / 0.6002 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.1369, allocations: 166.2 kB / 0.6003 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1379, allocations: 0.8794 MB / 0.6012 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.1383, allocations: 118.7 kB / 0.6013 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1384, allocations: 52.84 kB / 0.6014 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.1385, allocations: 0 / 0.6014 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.1385, allocations: 38.56 kB / 0.6014 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1385, allocations: 0 / 0.6014 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000413/0.1389, allocations: 165.5 kB / 0.6015 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1389, allocations: 51.41 kB / 0.6016 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1392, allocations: 291 kB / 0.6019 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1392, allocations: 29.7 kB / 0.6019 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.1393, allocations: 176 kB / 0.6021 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1393, allocations: 27.94 kB / 0.6021 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1394, allocations: 33.64 kB / 0.6021 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.1395, allocations: 330.8 kB / 0.6024 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.796e-05/0.1396, allocations: 39.98 kB / 0.6025 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.1397, allocations: 47.91 kB / 0.6025 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1399, allocations: 84.83 kB / 0.6026 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1399, allocations: 0 / 0.6026 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002493/0.1401, allocations: 137.3 kB / 0.6027 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1402, allocations: 7.984 kB / 0.6027 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1402, allocations: 0 / 0.6027 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1402, allocations: 4 kB / 0.6028 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1403, allocations: 27.92 kB / 0.6028 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1403, allocations: 3.938 kB / 0.6028 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1405, allocations: 19.83 kB / 0.6028 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1405, allocations: 4 kB / 0.6028 GB, free: 0.5625 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.878e-05/0.1406, allocations: 129.8 kB / 0.6029 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1406, allocations: 27.62 kB / 0.603 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.1407, allocations: 29.78 kB / 0.603 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1407, allocations: 0 / 0.603 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1407, allocations: 7.938 kB / 0.603 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1407, allocations: 0 / 0.603 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.141, allocations: 285.5 kB / 0.6033 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.141, allocations: 0 / 0.6033 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1411, allocations: 23.92 kB / 0.6033 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1411, allocations: 3.984 kB / 0.6033 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.3602, allocations: 9.859 kB / 0.6033 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3602, allocations: 0 / 0.6033 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3602, allocations: 2.625 kB / 0.6033 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.3606, allocations: 230.1 kB / 0.6035 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.3606, allocations: 107.3 kB / 0.6036 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3607, allocations: 1.5 kB / 0.6036 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.3608, allocations: 9.062 kB / 0.6036 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.3609, allocations: 13.69 kB / 0.6036 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.3609, allocations: 1.625 kB / 0.6037 GB, free: 44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001743/0.3611, allocations: 201.4 kB / 0.6038 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3611, allocations: 0.8438 kB / 0.6038 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003177/0.3614, allocations: 47.39 kB / 0.6039 GB, free: 43.92 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.0004034/0.3618, allocations: 0.7724 MB / 0.6046 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3621, allocations: 97.45 kB / 0.6047 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3621, allocations: 1.75 kB / 0.6047 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.462e-05/0.3622, allocations: 46.77 kB / 0.6048 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3626, allocations: 39.7 kB / 0.6048 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.3645, allocations: 2.186 MB / 0.607 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3646, allocations: 0.7542 MB / 0.6077 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.165e-05/0.3647, allocations: 23.41 kB / 0.6077 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.3648, allocations: 78.7 kB / 0.6078 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.3648, allocations: 0 / 0.6078 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.3836, allocations: 4.457 MB / 0.6121 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/7.085, allocations: 9.797 kB / 0.6121 GB, free: 40.84 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)