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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 215.6 kB / 22.24 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9191/0.9191, allocations: 145 MB / 457.4 MB, free: 15.77 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 62.56 kB / 0.6331 GB, free: 7.043 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1735, allocations: 87.89 MB / 0.7189 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3719/0.5454, allocations: 38.36 MB / 0.7564 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.5589, allocations: 9.673 MB / 0.7658 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.5613, allocations: 79.09 kB / 0.7659 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.5633, allocations: 0.6354 MB / 0.7665 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.5691, allocations: 2.01 MB / 0.7685 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.5725, allocations: 1.215 MB / 0.7697 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.5776, allocations: 3.452 MB / 0.773 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.5789, allocations: 0.8079 MB / 0.7738 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.5821, allocations: 1.291 MB / 0.7751 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.5837, allocations: 0.9018 MB / 0.776 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.584, allocations: 101.1 kB / 0.7761 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.586, allocations: 0.7133 MB / 0.7768 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.5863, allocations: 298.9 kB / 0.7771 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006603/0.587, allocations: 0.506 MB / 0.7776 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.5903, allocations: 2.054 MB / 0.7796 GB, free: 396 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5903, allocations: 6.438 kB / 0.7796 GB, free: 392 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5903, allocations: 0 / 0.7796 GB, free: 392 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.5904, allocations: 0 / 0.7796 GB, free: 392 kB / 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.002988/0.5933, allocations: 1.48 MB / 0.781 GB, free: 15.42 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.5934, allocations: 9.688 kB / 0.781 GB, free: 15.42 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.5936, allocations: 115 kB / 0.7811 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.594, allocations: 139.7 kB / 0.7813 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.5961, allocations: 1.056 MB / 0.7823 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.5961, allocations: 51.75 kB / 0.7823 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5962, allocations: 71.12 kB / 0.7824 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.5977, allocations: 0.9449 MB / 0.7833 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.5977, allocations: 7.938 kB / 0.7833 GB, free: 14.08 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.5978, allocations: 39.16 kB / 0.7834 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.5978, allocations: 19.69 kB / 0.7834 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.5989, allocations: 0.5697 MB / 0.784 GB, free: 13.86 MB / 0.5763 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.004193/0.6031, allocations: 2.741 MB / 0.7866 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.6037, allocations: 238.8 kB / 0.7869 GB, free: 11.97 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.604, allocations: 166.6 kB / 0.787 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.6042, allocations: 61.31 kB / 0.7871 GB, free: 11.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.6043, allocations: 41.12 kB / 0.7871 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.6043, allocations: 4 kB / 0.7871 GB, free: 11.85 MB / 0.5763 GB Notification: Performance of matching and sorting (n=31): time 0.001256/0.6055, allocations: 0.5133 MB / 0.7876 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.6056, allocations: 54.53 kB / 0.7877 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6068, allocations: 0.9606 MB / 0.7886 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.6069, allocations: 37.2 kB / 0.7886 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.6073, allocations: 0.5006 MB / 0.7891 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6075, allocations: 122.1 kB / 0.7893 GB, free: 10.65 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.6076, allocations: 117 kB / 0.7894 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6078, allocations: 325.6 kB / 0.7897 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.6081, allocations: 162 kB / 0.7898 GB, free: 10.22 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.6087, allocations: 0.501 MB / 0.7903 GB, free: 9.766 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.6096, allocations: 0.5079 MB / 0.7908 GB, free: 9.426 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.6096, allocations: 5.281 kB / 0.7908 GB, free: 9.422 MB / 0.5763 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001232/0.6108, allocations: 0.6293 MB / 0.7914 GB, free: 9.152 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.6108, allocations: 6.781 kB / 0.7914 GB, free: 9.152 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6108, allocations: 9.844 kB / 0.7914 GB, free: 9.148 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.6108, allocations: 7.969 kB / 0.7915 GB, free: 9.148 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.6113, allocations: 122.4 kB / 0.7916 GB, free: 9.137 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.6113, allocations: 12.81 kB / 0.7916 GB, free: 9.137 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.612, allocations: 86.62 kB / 0.7917 GB, free: 9.086 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.6121, allocations: 34.66 kB / 0.7917 GB, free: 9.074 MB / 0.5763 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.0004178/0.6125, allocations: 270.6 kB / 0.792 GB, free: 8.871 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.6127, allocations: 108 kB / 0.7921 GB, free: 8.812 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.6137, allocations: 491.2 kB / 0.7925 GB, free: 8.621 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.6137, allocations: 7.562 kB / 0.7925 GB, free: 8.617 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6137, allocations: 0 / 0.7925 GB, free: 8.617 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007043/0.6144, allocations: 459.2 kB / 0.793 GB, free: 8.363 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.6167, allocations: 1.247 MB / 0.7942 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6167, allocations: 1.094 kB / 0.7942 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.617, allocations: 77.17 kB / 0.7943 GB, free: 7.484 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-05/0.617, allocations: 7.422 kB / 0.7943 GB, free: 7.48 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.6171, allocations: 8.219 kB / 0.7943 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.6171, allocations: 2.562 kB / 0.7943 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6171, allocations: 6.438 kB / 0.7943 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.6184, allocations: 0.7822 MB / 0.7951 GB, free: 6.98 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.6189, allocations: 153.7 kB / 0.7952 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.619, allocations: 8.562 kB / 0.7952 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.6195, allocations: 38.73 kB / 0.7952 GB, free: 6.84 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.6196, allocations: 33.58 kB / 0.7953 GB, free: 6.816 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.6196, allocations: 16.33 kB / 0.7953 GB, free: 6.812 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0009289/0.6206, allocations: 0.6678 MB / 0.7959 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.6206, allocations: 0 / 0.7959 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001161/0.6217, allocations: 342.6 kB / 0.7963 GB, free: 6.344 MB / 0.5763 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.002243/0.624, allocations: 1.584 MB / 0.7978 GB, free: 5.23 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0009371/0.6249, allocations: 410.9 kB / 0.7982 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6249, allocations: 0 / 0.7982 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.6253, allocations: 177.7 kB / 0.7984 GB, free: 4.977 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.6281, allocations: 0.6139 MB / 0.799 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.6381, allocations: 6.85 MB / 0.8057 GB, free: 316 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.6385, allocations: 450.5 kB / 0.8061 GB, free: 44 kB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0008462/0.6394, allocations: 204.3 kB / 0.8063 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.6399, allocations: 373.2 kB / 0.8067 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.6399, allocations: 0 / 0.8067 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09327/0.7331, allocations: 32.92 MB / 0.8388 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.26, allocations: 8 kB / 0.8388 GB, free: 1.23 MB / 0.6075 GB " [Timeout remaining time 647] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.017699175979942] Failed to read output from testmodel.py, exit status != 0: 13.390429463703185 13.410868515 12.816374056 Calling exit ...