Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.001496/0.001496, 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.001812/0.001812, allocations: 196.6 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.006/1.006, allocations: 143 MB / 433.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1636, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3023/0.4659, allocations: 41.56 MB / 0.635 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.4778, allocations: 10.41 MB / 0.6451 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.4796, allocations: 61.19 kB / 0.6452 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.4814, allocations: 0.6357 MB / 0.6458 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.4859, allocations: 1.884 MB / 0.6477 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.4884, allocations: 1.176 MB / 0.6488 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.4915, allocations: 3.389 MB / 0.6521 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.4926, allocations: 1.059 MB / 0.6531 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.4948, allocations: 1.226 MB / 0.6543 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009517/0.4958, allocations: 0.8927 MB / 0.6552 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.4959, allocations: 100.9 kB / 0.6553 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.4977, allocations: 0.8525 MB / 0.6561 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.498, allocations: 270.1 kB / 0.6564 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005734/0.4985, allocations: 0.6405 MB / 0.657 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.5008, allocations: 2.002 MB / 0.659 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5008, allocations: 0.75 kB / 0.659 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5008, allocations: 0 / 0.659 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.5009, allocations: 0.75 kB / 0.659 GB, free: 5.449 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002253/0.5031, allocations: 1.51 MB / 0.6605 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5032, allocations: 13.25 kB / 0.6605 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.5033, allocations: 116 kB / 0.6606 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.5037, allocations: 134.7 kB / 0.6607 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5051, allocations: 1.051 MB / 0.6617 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.5052, allocations: 55.66 kB / 0.6618 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.5053, allocations: 73.88 kB / 0.6619 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5066, allocations: 0.7878 MB / 0.6626 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5066, allocations: 1.625 kB / 0.6626 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.5067, allocations: 27.03 kB / 0.6627 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.5067, allocations: 31.81 kB / 0.6627 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5078, allocations: 0.5704 MB / 0.6632 GB, free: 2.977 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003661/0.5115, allocations: 3.584 MB / 0.6667 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.5121, allocations: 258.7 kB / 0.667 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.5124, allocations: 174.8 kB / 0.6672 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.5129, allocations: 0.6585 MB / 0.6678 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.513, allocations: 37.66 kB / 0.6678 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.513, allocations: 3.938 kB / 0.6678 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001291/0.5143, allocations: 0.5141 MB / 0.6683 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5143, allocations: 55.17 kB / 0.6684 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.5156, allocations: 0.9487 MB / 0.6693 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.5157, allocations: 33.11 kB / 0.6694 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.5161, allocations: 0.4916 MB / 0.6698 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.5163, allocations: 116.4 kB / 0.6699 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.5165, allocations: 114.4 kB / 0.6701 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5166, allocations: 329 kB / 0.6704 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.5171, allocations: 170.3 kB / 0.6705 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.5177, allocations: 350.4 kB / 0.6709 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.5187, allocations: 0.509 MB / 0.6714 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5187, allocations: 1.25 kB / 0.6714 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001341/0.52, allocations: 0.6171 MB / 0.672 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5201, allocations: 7.25 kB / 0.672 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5201, allocations: 5.109 kB / 0.672 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5201, allocations: 8.875 kB / 0.672 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.5206, allocations: 122.3 kB / 0.6721 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.5206, allocations: 9.406 kB / 0.6721 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.5214, allocations: 95.28 kB / 0.6722 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.5215, allocations: 27 kB / 0.6722 GB, free: 12.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.000405/0.5219, allocations: 279.4 kB / 0.6725 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5221, allocations: 95.47 kB / 0.6726 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.5232, allocations: 491.1 kB / 0.6731 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.5232, allocations: 4.469 kB / 0.6731 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.5232, allocations: 2.031 kB / 0.6731 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008897/0.5241, allocations: 453.1 kB / 0.6735 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.5265, allocations: 1.362 MB / 0.6748 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5266, allocations: 1.406 kB / 0.6748 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.5269, allocations: 82.73 kB / 0.6749 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.527, allocations: 6.75 kB / 0.6749 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.527, allocations: 10.73 kB / 0.6749 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.527, allocations: 3.562 kB / 0.6749 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.527, allocations: 5.969 kB / 0.6749 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.5285, allocations: 0.7575 MB / 0.6757 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.5289, allocations: 229.6 kB / 0.6759 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.5291, allocations: 12.88 kB / 0.6759 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.5296, allocations: 27.03 kB / 0.6759 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.5297, allocations: 29.94 kB / 0.676 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.5297, allocations: 20.97 kB / 0.676 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001033/0.5308, allocations: 0.6608 MB / 0.6766 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5308, allocations: 0 / 0.6766 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001153/0.5319, allocations: 339 kB / 0.6769 GB, free: 10.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002712/0.5347, allocations: 1.6 MB / 0.6785 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.5359, allocations: 450.3 kB / 0.6789 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.536, allocations: 1.375 kB / 0.6789 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.5364, allocations: 183.2 kB / 0.6791 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/0.5406, allocations: 0.6151 MB / 0.6797 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.5536, allocations: 7.241 MB / 0.6868 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.5543, allocations: 1.042 MB / 0.6878 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001038/0.5554, allocations: 198 kB / 0.688 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.5559, allocations: 372.2 kB / 0.6883 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.5559, allocations: 3.938 kB / 0.6883 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.6186, allocations: 29.81 MB / 0.7175 GB, free: 14.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.729, allocations: 17.66 kB / 0.7175 GB, free: 14.76 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)