Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.001193/0.001193, 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.001222/0.001222, allocations: 195.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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.9797/0.9797, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1697, allocations: 82.04 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3196/0.4893, allocations: 77.14 MB / 0.6697 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0257/0.515, allocations: 18.9 MB / 0.6882 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/0.5193, allocations: 113.3 kB / 0.6883 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.5229, allocations: 1.248 MB / 0.6895 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.534, allocations: 3.634 MB / 0.6931 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005975/0.54, allocations: 2.081 MB / 0.6951 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009326/0.5493, allocations: 6.675 MB / 0.7016 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.553, allocations: 2.092 MB / 0.7036 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00595/0.559, allocations: 2.289 MB / 0.7059 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004144/0.5631, allocations: 1.75 MB / 0.7076 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008553/0.564, allocations: 199 kB / 0.7078 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006222/0.5702, allocations: 1.617 MB / 0.7094 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.5714, allocations: 0.5347 MB / 0.7099 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.574, allocations: 1.251 MB / 0.7111 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006208/0.5802, allocations: 3.881 MB / 0.7149 GB, free: 14.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5803, allocations: 0 / 0.7149 GB, free: 14.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5803, allocations: 5.125 kB / 0.7149 GB, free: 14.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.552e-05/0.5803, allocations: 0 / 0.7149 GB, free: 14.59 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004632/0.585, allocations: 2.722 MB / 0.7176 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.585, allocations: 12.83 kB / 0.7176 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.5853, allocations: 202.8 kB / 0.7178 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.5862, allocations: 263.6 kB / 0.718 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/0.5893, allocations: 1.92 MB / 0.7199 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.5893, allocations: 105.6 kB / 0.72 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.5895, allocations: 146.7 kB / 0.7201 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.5919, allocations: 1.522 MB / 0.7216 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.592, allocations: 7.938 kB / 0.7216 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.5921, allocations: 58.06 kB / 0.7217 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.5921, allocations: 37.56 kB / 0.7217 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.5942, allocations: 1.129 MB / 0.7228 GB, free: 9.125 MB / 0.545 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.008323/0.6026, allocations: 7.662 MB / 0.7303 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.6035, allocations: 480.5 kB / 0.7308 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.6042, allocations: 330.3 kB / 0.7311 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000893/0.6051, allocations: 1.152 MB / 0.7322 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.6051, allocations: 47.06 kB / 0.7322 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 3.126e-06/0.6051, allocations: 0 / 0.7322 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002353/0.6075, allocations: 0.9652 MB / 0.7332 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.6075, allocations: 55.97 kB / 0.7332 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.6097, allocations: 1.783 MB / 0.735 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.6098, allocations: 45.7 kB / 0.735 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007648/0.6106, allocations: 0.9277 MB / 0.7359 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.6108, allocations: 224.9 kB / 0.7361 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.6111, allocations: 230.7 kB / 0.7364 GB, free: 11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6112, allocations: 349.9 kB / 0.7367 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/0.6119, allocations: 330.4 kB / 0.737 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009254/0.6128, allocations: 0.6983 MB / 0.7377 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.6143, allocations: 1.008 MB / 0.7387 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.6143, allocations: 4 kB / 0.7387 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002255/0.6166, allocations: 1.218 MB / 0.7399 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6166, allocations: 8 kB / 0.7399 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.6167, allocations: 12 kB / 0.7399 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.6167, allocations: 16 kB / 0.7399 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.6177, allocations: 295.9 kB / 0.7402 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.6177, allocations: 19.94 kB / 0.7402 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.6192, allocations: 163.1 kB / 0.7404 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.6193, allocations: 55.98 kB / 0.7404 GB, free: 6.539 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007065/0.62, allocations: 433.4 kB / 0.7408 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.6203, allocations: 201.6 kB / 0.741 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.6221, allocations: 0.8636 MB / 0.7419 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.6222, allocations: 8 kB / 0.7419 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6222, allocations: 0 / 0.7419 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.6235, allocations: 0.7918 MB / 0.7426 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.6276, allocations: 2.459 MB / 0.745 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6277, allocations: 7.938 kB / 0.7451 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.6284, allocations: 179.7 kB / 0.7452 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.6285, allocations: 4 kB / 0.7452 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.6285, allocations: 23.98 kB / 0.7453 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.6285, allocations: 8.094 kB / 0.7453 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6285, allocations: 3.938 kB / 0.7453 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.6309, allocations: 1.335 MB / 0.7466 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/0.6316, allocations: 370.4 kB / 0.7469 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.6319, allocations: 16 kB / 0.7469 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/0.6328, allocations: 68.8 kB / 0.747 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6329, allocations: 48.48 kB / 0.747 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.633, allocations: 35.98 kB / 0.7471 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001536/0.6346, allocations: 1.243 MB / 0.7483 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6346, allocations: 0 / 0.7483 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001962/0.6365, allocations: 0.659 MB / 0.7489 GB, free: 13.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003559/0.6401, allocations: 2.398 MB / 0.7513 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.6421, allocations: 0.8897 MB / 0.7522 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6421, allocations: 0 / 0.7522 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.6428, allocations: 364.4 kB / 0.7525 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/0.648, allocations: 1.197 MB / 0.7537 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/0.6671, allocations: 14.23 MB / 0.7676 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.6681, allocations: 1.405 MB / 0.7689 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001651/0.6698, allocations: 386.8 kB / 0.7693 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.6708, allocations: 0.7687 MB / 0.7701 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of SimCode: time 2.324e-06/0.6708, allocations: 0 / 0.7701 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.7714, allocations: 57.8 MB / 0.8265 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.036/9.807, allocations: 11.69 kB / 0.8265 GB, free: 13.75 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_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_EightPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)