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.005901/0.005901, allocations: 98.2 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.00125/0.00125, allocations: 193.3 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.9963/0.9963, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4024, allocations: 82.04 MB / 0.6752 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0716/0.4741, allocations: 77.15 MB / 0.7505 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02836/0.5025, allocations: 18.91 MB / 0.769 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00524/0.5078, allocations: 115.4 kB / 0.7691 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003966/0.5118, allocations: 1.281 MB / 0.7704 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.5224, allocations: 3.814 MB / 0.7741 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.5279, allocations: 2.105 MB / 0.7761 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009061/0.5369, allocations: 6.688 MB / 0.7827 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.54, allocations: 2.091 MB / 0.7847 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005444/0.5455, allocations: 2.373 MB / 0.787 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.5489, allocations: 1.763 MB / 0.7887 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000611/0.5495, allocations: 200 kB / 0.7889 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.5542, allocations: 1.618 MB / 0.7905 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000948/0.5551, allocations: 0.5449 MB / 0.791 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.5578, allocations: 1.244 MB / 0.7923 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.5661, allocations: 3.947 MB / 0.7961 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5661, allocations: 0 / 0.7961 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5661, allocations: 0 / 0.7961 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001509/0.5663, allocations: 0 / 0.7961 GB, free: 10.2 MB / 0.6231 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.007778/0.5741, allocations: 2.794 MB / 0.7988 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5741, allocations: 8.031 kB / 0.7989 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000355/0.5745, allocations: 202.8 kB / 0.799 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/0.5755, allocations: 283.3 kB / 0.7993 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.5789, allocations: 2.04 MB / 0.8013 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.579, allocations: 110.7 kB / 0.8014 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.5792, allocations: 140 kB / 0.8015 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.5818, allocations: 1.512 MB / 0.803 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.5819, allocations: 4 kB / 0.803 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.582, allocations: 60 kB / 0.8031 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.582, allocations: 47.92 kB / 0.8031 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.5841, allocations: 1.122 MB / 0.8042 GB, free: 1.676 MB / 0.6231 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.007984/0.5921, allocations: 7.632 MB / 0.8117 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.5931, allocations: 480.6 kB / 0.8121 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.5938, allocations: 340 kB / 0.8125 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008823/0.5947, allocations: 1.156 MB / 0.8136 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5947, allocations: 39.12 kB / 0.8136 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/0.5947, allocations: 4 kB / 0.8136 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002227/0.5969, allocations: 0.9739 MB / 0.8146 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.597, allocations: 67.89 kB / 0.8147 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.5995, allocations: 1.783 MB / 0.8164 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/0.5996, allocations: 45.7 kB / 0.8164 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007735/0.6003, allocations: 0.9373 MB / 0.8174 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.6006, allocations: 234 kB / 0.8176 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.6009, allocations: 226.8 kB / 0.8178 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6011, allocations: 349.9 kB / 0.8181 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.6018, allocations: 330.4 kB / 0.8184 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/0.6028, allocations: 0.6899 MB / 0.8191 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.6045, allocations: 1.012 MB / 0.8201 GB, free: 200 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.6046, allocations: 4 kB / 0.8201 GB, free: 196 kB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002448/0.607, allocations: 1.215 MB / 0.8213 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.607, allocations: 16 kB / 0.8213 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.6071, allocations: 8 kB / 0.8213 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.6071, allocations: 16 kB / 0.8213 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.6081, allocations: 291.5 kB / 0.8216 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.345e-05/0.6082, allocations: 23.92 kB / 0.8216 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6096, allocations: 174.9 kB / 0.8218 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.6097, allocations: 51.98 kB / 0.8218 GB, free: 14.4 MB / 0.6544 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.0006859/0.6104, allocations: 441.3 kB / 0.8223 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.6108, allocations: 198.7 kB / 0.8225 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.6127, allocations: 0.8702 MB / 0.8233 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.6127, allocations: 8 kB / 0.8233 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6127, allocations: 0 / 0.8233 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/0.6141, allocations: 0.7995 MB / 0.8241 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/0.6185, allocations: 2.455 MB / 0.8265 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.6185, allocations: 0 / 0.8265 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/0.6193, allocations: 188 kB / 0.8267 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.6193, allocations: 4 kB / 0.8267 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.6194, allocations: 19.98 kB / 0.8267 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.6194, allocations: 4 kB / 0.8267 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6194, allocations: 4 kB / 0.8267 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.6218, allocations: 1.353 MB / 0.828 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/0.6226, allocations: 375.5 kB / 0.8284 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/0.623, allocations: 16 kB / 0.8284 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.6241, allocations: 67.86 kB / 0.8285 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6243, allocations: 48.44 kB / 0.8285 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/0.6244, allocations: 35.97 kB / 0.8285 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00193/0.6263, allocations: 1.247 MB / 0.8298 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6263, allocations: 0 / 0.8298 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002048/0.6284, allocations: 0.6548 MB / 0.8304 GB, free: 5.406 MB / 0.6544 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.003968/0.6323, allocations: 2.426 MB / 0.8328 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.6341, allocations: 0.8164 MB / 0.8336 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6341, allocations: 0 / 0.8336 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007211/0.6349, allocations: 355.1 kB / 0.8339 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006181/0.6411, allocations: 1.199 MB / 0.8351 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.6619, allocations: 12.63 MB / 0.8474 GB, free: 3.461 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.663, allocations: 1.413 MB / 0.8488 GB, free: 2.016 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001483/0.6645, allocations: 374.9 kB / 0.8491 GB, free: 1.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.6656, allocations: 0.7726 MB / 0.8499 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/0.6656, allocations: 0 / 0.8499 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4118/1.077, allocations: 58.07 MB / 0.9066 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.82, allocations: 5.797 kB / 0.9066 GB, free: 155.2 MB / 0.6856 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)