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-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.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.006842/0.006842, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001721/0.001721, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.412/1.412, 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-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 1.029/1.029, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 60.14 kB / 0.5953 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4305, allocations: 82.02 MB / 0.6754 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0808/0.5113, allocations: 77.16 MB / 0.7508 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02816/0.5395, allocations: 18.92 MB / 0.7692 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004147/0.5437, allocations: 107.4 kB / 0.7694 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003987/0.5478, allocations: 1.242 MB / 0.7706 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.5591, allocations: 3.63 MB / 0.7741 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006318/0.5655, allocations: 2.098 MB / 0.7762 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.5762, allocations: 6.678 MB / 0.7827 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003781/0.58, allocations: 2.09 MB / 0.7847 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006272/0.5863, allocations: 2.317 MB / 0.787 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.5899, allocations: 1.755 MB / 0.7887 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005235/0.5904, allocations: 200 kB / 0.7889 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/0.5949, allocations: 1.622 MB / 0.7905 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007117/0.5957, allocations: 0.5449 MB / 0.791 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.5977, allocations: 1.244 MB / 0.7922 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.6046, allocations: 3.941 MB / 0.7961 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6047, allocations: 4 kB / 0.7961 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.607e-06/0.6047, allocations: 3.984 kB / 0.7961 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.107e-05/0.6047, allocations: 0 / 0.7961 GB, free: 10.25 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.00471/0.6094, allocations: 2.786 MB / 0.7988 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6095, allocations: 8.031 kB / 0.7988 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002501/0.6097, allocations: 210.8 kB / 0.799 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/0.6105, allocations: 271.3 kB / 0.7993 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.6138, allocations: 2.052 MB / 0.8013 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.6139, allocations: 106.7 kB / 0.8014 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.6142, allocations: 148 kB / 0.8015 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.6168, allocations: 1.514 MB / 0.803 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.6169, allocations: 4 kB / 0.803 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.617, allocations: 55.98 kB / 0.803 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.6171, allocations: 43.98 kB / 0.8031 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.6194, allocations: 1.126 MB / 0.8042 GB, free: 1.738 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.009395/0.6288, allocations: 7.632 MB / 0.8116 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.6299, allocations: 480.6 kB / 0.8121 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/0.6306, allocations: 338.3 kB / 0.8124 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009782/0.6316, allocations: 1.152 MB / 0.8135 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.6316, allocations: 47.12 kB / 0.8136 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/0.6316, allocations: 0 / 0.8136 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002557/0.6342, allocations: 0.9701 MB / 0.8145 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.6343, allocations: 59.97 kB / 0.8146 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.6369, allocations: 1.779 MB / 0.8163 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.637, allocations: 49.64 kB / 0.8164 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/0.6379, allocations: 0.9373 MB / 0.8173 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.6382, allocations: 238 kB / 0.8175 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/0.6386, allocations: 238.6 kB / 0.8177 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6387, allocations: 349.9 kB / 0.8181 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.6395, allocations: 326.4 kB / 0.8184 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.6406, allocations: 0.6938 MB / 0.8191 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.6424, allocations: 1.008 MB / 0.8201 GB, free: 268 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.6424, allocations: 4 kB / 0.8201 GB, free: 264 kB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002652/0.6451, allocations: 1.219 MB / 0.8213 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.6451, allocations: 12 kB / 0.8213 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.6451, allocations: 8 kB / 0.8213 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/0.6452, allocations: 16 kB / 0.8213 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.6462, allocations: 295.8 kB / 0.8216 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.709e-05/0.6462, allocations: 19.94 kB / 0.8216 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.6476, allocations: 166.9 kB / 0.8217 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.801e-05/0.6477, allocations: 55.98 kB / 0.8218 GB, free: 14.46 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.0008679/0.6486, allocations: 433.4 kB / 0.8222 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.649, allocations: 202.7 kB / 0.8224 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.6509, allocations: 0.8655 MB / 0.8233 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.651, allocations: 15.98 kB / 0.8233 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.651, allocations: 0 / 0.8233 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/0.6525, allocations: 0.7956 MB / 0.824 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/0.6571, allocations: 2.451 MB / 0.8264 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6571, allocations: 0 / 0.8264 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/0.6579, allocations: 184 kB / 0.8266 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.6579, allocations: 4 kB / 0.8266 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.658, allocations: 19.98 kB / 0.8266 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.658, allocations: 7.938 kB / 0.8266 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.658, allocations: 8 kB / 0.8267 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.6608, allocations: 1.353 MB / 0.828 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.6619, allocations: 375.5 kB / 0.8283 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/0.6622, allocations: 16 kB / 0.8283 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6633, allocations: 63.92 kB / 0.8284 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6634, allocations: 44.5 kB / 0.8284 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/0.6635, allocations: 35.97 kB / 0.8285 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002122/0.6656, allocations: 1.251 MB / 0.8297 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.31e-07/0.6657, allocations: 3.938 kB / 0.8297 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002116/0.6678, allocations: 0.6587 MB / 0.8304 GB, free: 5.469 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.004121/0.6719, allocations: 2.424 MB / 0.8327 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.6738, allocations: 0.8199 MB / 0.8335 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6738, allocations: 0 / 0.8335 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.6746, allocations: 350.9 kB / 0.8339 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/0.68, allocations: 1.194 MB / 0.835 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/0.7001, allocations: 12.63 MB / 0.8474 GB, free: 3.527 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.7014, allocations: 1.409 MB / 0.8487 GB, free: 2.086 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00148/0.7029, allocations: 380.8 kB / 0.8491 GB, free: 1.727 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.704, allocations: 0.7648 MB / 0.8498 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of SimCode: time 1.021e-06/0.704, allocations: 0 / 0.8498 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4778/1.182, allocations: 58.09 MB / 0.9066 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/13.2, allocations: 13.19 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)