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.005185/0.005185, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.00116/0.00116, allocations: 195 kB / 16.67 MB, free: 5.934 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.9852/0.9852, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.88 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3873, allocations: 82.03 MB / 0.6752 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04377/0.4311, allocations: 41.58 MB / 0.7158 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.4459, allocations: 10.41 MB / 0.7259 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.448, allocations: 59.62 kB / 0.726 GB, free: 2.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.45, allocations: 0.6599 MB / 0.7266 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.4552, allocations: 1.978 MB / 0.7286 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.4583, allocations: 1.184 MB / 0.7297 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004719/0.463, allocations: 3.412 MB / 0.7331 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.4645, allocations: 1.049 MB / 0.7341 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.4675, allocations: 1.27 MB / 0.7353 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.469, allocations: 0.8828 MB / 0.7362 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.4691, allocations: 100 kB / 0.7363 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.4711, allocations: 0.8655 MB / 0.7371 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.4714, allocations: 279 kB / 0.7374 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.4721, allocations: 0.6298 MB / 0.738 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.4749, allocations: 2.035 MB / 0.74 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4749, allocations: 0 / 0.74 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4749, allocations: 0 / 0.74 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.475, allocations: 0 / 0.74 GB, free: 3.965 MB / 0.5606 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.002544/0.4775, allocations: 1.552 MB / 0.7415 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4776, allocations: 8.031 kB / 0.7415 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.4778, allocations: 118.7 kB / 0.7416 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.4781, allocations: 152.1 kB / 0.7418 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.48, allocations: 1.108 MB / 0.7429 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.48, allocations: 54 kB / 0.7429 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4802, allocations: 72 kB / 0.743 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.4816, allocations: 0.7944 MB / 0.7438 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.4816, allocations: 0 / 0.7438 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.4817, allocations: 28 kB / 0.7438 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.4817, allocations: 23.94 kB / 0.7438 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.4828, allocations: 0.575 MB / 0.7444 GB, free: 15.35 MB / 0.5762 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.00398/0.4868, allocations: 3.569 MB / 0.7479 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.4874, allocations: 254.5 kB / 0.7481 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.4878, allocations: 176.7 kB / 0.7483 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.4884, allocations: 0.6609 MB / 0.7489 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4885, allocations: 38.56 kB / 0.7489 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.757e-06/0.4885, allocations: 3.938 kB / 0.7489 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001231/0.4897, allocations: 0.5207 MB / 0.7495 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4898, allocations: 55.41 kB / 0.7495 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4909, allocations: 0.9495 MB / 0.7504 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.491, allocations: 37.7 kB / 0.7505 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.4915, allocations: 0.4965 MB / 0.751 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.4916, allocations: 123 kB / 0.7511 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.4917, allocations: 114.2 kB / 0.7512 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4919, allocations: 333.9 kB / 0.7515 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.4923, allocations: 161 kB / 0.7517 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.4928, allocations: 354.9 kB / 0.752 GB, free: 7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.4936, allocations: 0.5077 MB / 0.7525 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.4936, allocations: 4 kB / 0.7525 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001203/0.4948, allocations: 0.6142 MB / 0.7531 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4948, allocations: 15.97 kB / 0.7531 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4949, allocations: 4 kB / 0.7531 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.4949, allocations: 8 kB / 0.7531 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.4953, allocations: 127.8 kB / 0.7532 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.4954, allocations: 8 kB / 0.7532 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.496, allocations: 87.38 kB / 0.7533 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.496, allocations: 31.94 kB / 0.7534 GB, free: 5.52 MB / 0.5762 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.0003406/0.4964, allocations: 277.6 kB / 0.7536 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.4966, allocations: 103.3 kB / 0.7537 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009925/0.4976, allocations: 484.7 kB / 0.7542 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.4976, allocations: 8 kB / 0.7542 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4976, allocations: 4 kB / 0.7542 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000708/0.4983, allocations: 455.3 kB / 0.7546 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.5004, allocations: 1.355 MB / 0.756 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5004, allocations: 4 kB / 0.756 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.5008, allocations: 75.83 kB / 0.756 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5008, allocations: 4 kB / 0.756 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.5008, allocations: 12 kB / 0.756 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5008, allocations: 4.156 kB / 0.7561 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5008, allocations: 7.938 kB / 0.7561 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.5021, allocations: 0.772 MB / 0.7568 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.5025, allocations: 240.1 kB / 0.757 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5026, allocations: 8 kB / 0.7571 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.5031, allocations: 27.97 kB / 0.7571 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.5032, allocations: 35.95 kB / 0.7571 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.5032, allocations: 19.98 kB / 0.7571 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008218/0.504, allocations: 0.6549 MB / 0.7578 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.504, allocations: 0 / 0.7578 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000992/0.505, allocations: 343.3 kB / 0.7581 GB, free: 0.5 MB / 0.5762 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.002157/0.5072, allocations: 1.606 MB / 0.7597 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009342/0.5082, allocations: 432.3 kB / 0.7601 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5082, allocations: 384 / 0.7601 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.5086, allocations: 193 kB / 0.7603 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.5111, allocations: 0.6189 MB / 0.7609 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009174/0.5202, allocations: 6.842 MB / 0.7675 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.5209, allocations: 1.036 MB / 0.7686 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007549/0.5216, allocations: 192 kB / 0.7687 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/0.5221, allocations: 379.2 kB / 0.7691 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of SimCode: time 2.194e-06/0.5221, allocations: 0 / 0.7691 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06287/0.585, allocations: 30 MB / 0.7984 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.457/10.04, allocations: 17.03 kB / 0.7984 GB, free: 7.324 MB / 0.6231 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)