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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.005771/0.005771, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001346/0.001346, allocations: 195.6 kB / 16.67 MB, free: 5.883 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8927/0.8927, allocations: 143.3 MB / 433.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 65 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1716, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04785/0.2195, allocations: 41.58 MB / 0.716 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.2359, allocations: 10.4 MB / 0.7262 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.2384, allocations: 59.69 kB / 0.7262 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.2406, allocations: 0.6365 MB / 0.7269 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.2466, allocations: 1.889 MB / 0.7287 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.2502, allocations: 1.184 MB / 0.7299 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005546/0.2558, allocations: 3.387 MB / 0.7332 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.2575, allocations: 1.064 MB / 0.7342 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003324/0.2609, allocations: 1.238 MB / 0.7354 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.2624, allocations: 0.8867 MB / 0.7363 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.2626, allocations: 100 kB / 0.7364 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.2649, allocations: 0.8617 MB / 0.7372 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.2652, allocations: 279 kB / 0.7375 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008679/0.2661, allocations: 0.6298 MB / 0.7381 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.2695, allocations: 2.032 MB / 0.7401 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2695, allocations: 4 kB / 0.7401 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2695, allocations: 0 / 0.7401 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.91e-05/0.2696, allocations: 0 / 0.7401 GB, free: 8.156 MB / 0.5762 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.002743/0.2723, allocations: 1.548 MB / 0.7416 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2724, allocations: 8.031 kB / 0.7416 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.2725, allocations: 118.7 kB / 0.7417 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.2729, allocations: 148.1 kB / 0.7419 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.2748, allocations: 1.112 MB / 0.743 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.2748, allocations: 58 kB / 0.743 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.275, allocations: 72 kB / 0.7431 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2765, allocations: 0.7983 MB / 0.7439 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.2765, allocations: 0 / 0.7439 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.2766, allocations: 28 kB / 0.7439 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.2766, allocations: 16 kB / 0.7439 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.2778, allocations: 0.575 MB / 0.7445 GB, free: 3.539 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.321/0.5988, allocations: 3.553 MB / 0.7479 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.5997, allocations: 261.3 kB / 0.7482 GB, free: 70.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.6001, allocations: 173.8 kB / 0.7483 GB, free: 70.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/0.6005, allocations: 0.6605 MB / 0.749 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.6005, allocations: 38.47 kB / 0.749 GB, free: 69.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.6005, allocations: 1.719 kB / 0.749 GB, free: 69.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001412/0.602, allocations: 0.5161 MB / 0.7495 GB, free: 69.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.602, allocations: 59.73 kB / 0.7496 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.6033, allocations: 0.9449 MB / 0.7505 GB, free: 69.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.6033, allocations: 35.77 kB / 0.7505 GB, free: 69.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.6037, allocations: 0.4995 MB / 0.751 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.6038, allocations: 126 kB / 0.7512 GB, free: 69.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.6039, allocations: 112.4 kB / 0.7513 GB, free: 69.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.604, allocations: 333.1 kB / 0.7516 GB, free: 68.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.6043, allocations: 163.7 kB / 0.7517 GB, free: 68.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.6048, allocations: 354.7 kB / 0.7521 GB, free: 68.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.6056, allocations: 0.5107 MB / 0.7526 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.6056, allocations: 1.125 kB / 0.7526 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001091/0.6067, allocations: 0.6248 MB / 0.7532 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.6067, allocations: 7.812 kB / 0.7532 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6067, allocations: 5.625 kB / 0.7532 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.6068, allocations: 8.125 kB / 0.7532 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.6072, allocations: 122.2 kB / 0.7533 GB, free: 68.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.6073, allocations: 14.09 kB / 0.7533 GB, free: 68.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.6079, allocations: 86.92 kB / 0.7534 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.6079, allocations: 26.59 kB / 0.7534 GB, free: 68.04 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.0003178/0.6082, allocations: 275.2 kB / 0.7537 GB, free: 67.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.6084, allocations: 105 kB / 0.7538 GB, free: 67.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009911/0.6094, allocations: 494.5 kB / 0.7543 GB, free: 67.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.6094, allocations: 5.516 kB / 0.7543 GB, free: 67.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.6094, allocations: 0.8438 kB / 0.7543 GB, free: 67.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007222/0.6101, allocations: 456 kB / 0.7547 GB, free: 67.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.6122, allocations: 1.371 MB / 0.7561 GB, free: 66.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6122, allocations: 1.438 kB / 0.7561 GB, free: 66.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.6125, allocations: 76.78 kB / 0.7561 GB, free: 66.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6126, allocations: 3.125 kB / 0.7561 GB, free: 66.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.6126, allocations: 9.359 kB / 0.7561 GB, free: 66.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6126, allocations: 11.16 kB / 0.7562 GB, free: 66.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6126, allocations: 2.812 kB / 0.7562 GB, free: 66.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.6139, allocations: 0.776 MB / 0.7569 GB, free: 66.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.6142, allocations: 229 kB / 0.7571 GB, free: 66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6143, allocations: 9.844 kB / 0.7571 GB, free: 65.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.6148, allocations: 38.89 kB / 0.7572 GB, free: 65.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.6149, allocations: 25.17 kB / 0.7572 GB, free: 65.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.615, allocations: 17.11 kB / 0.7572 GB, free: 65.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009248/0.6159, allocations: 0.6617 MB / 0.7579 GB, free: 65.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6159, allocations: 0 / 0.7579 GB, free: 65.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001008/0.6169, allocations: 339.9 kB / 0.7582 GB, free: 65.65 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.002359/0.6193, allocations: 1.601 MB / 0.7598 GB, free: 64.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008698/0.6202, allocations: 432.5 kB / 0.7602 GB, free: 64.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6202, allocations: 0 / 0.7602 GB, free: 64.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.6206, allocations: 194.6 kB / 0.7603 GB, free: 64.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.6231, allocations: 0.6075 MB / 0.7609 GB, free: 64.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/0.6319, allocations: 6.855 MB / 0.7676 GB, free: 60.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.6324, allocations: 1.035 MB / 0.7686 GB, free: 59.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000789/0.6332, allocations: 195 kB / 0.7688 GB, free: 59.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.6336, allocations: 373 kB / 0.7692 GB, free: 59.67 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.6336, allocations: 0 / 0.7692 GB, free: 59.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.6911, allocations: 30.01 MB / 0.7985 GB, free: 38.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.94, allocations: 16.58 kB / 0.7985 GB, free: 38.88 MB / 0.5762 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)