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.001278/0.001278, allocations: 113 kB / 18.94 MB, free: 2.934 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.001475/0.001475, allocations: 209.3 kB / 22.25 MB, free: 5.086 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 8.027 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.8791/0.8791, allocations: 145 MB / 457.4 MB, free: 15.53 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.003336/0.003336, allocations: 68.89 kB / 0.6332 GB, free: 7.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.189, allocations: 87.89 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3768/0.5658, allocations: 42.44 MB / 0.7605 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.5803, allocations: 10.47 MB / 0.7707 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.583, allocations: 78.03 kB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.585, allocations: 0.6694 MB / 0.7714 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006276/0.5913, allocations: 2.021 MB / 0.7734 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.5952, allocations: 1.236 MB / 0.7746 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006327/0.6015, allocations: 3.481 MB / 0.778 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.6032, allocations: 0.8141 MB / 0.7788 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.607, allocations: 1.291 MB / 0.78 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.609, allocations: 0.9335 MB / 0.781 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.6092, allocations: 105.2 kB / 0.7811 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.6122, allocations: 0.9415 MB / 0.782 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.6126, allocations: 288.5 kB / 0.7822 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.6136, allocations: 0.6279 MB / 0.7829 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.6177, allocations: 2.091 MB / 0.7849 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.6177, allocations: 4 kB / 0.7849 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6177, allocations: 0 / 0.7849 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.477e-05/0.6178, allocations: 1.125 kB / 0.7849 GB, free: 14.21 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.002963/0.6207, allocations: 1.477 MB / 0.7863 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.6208, allocations: 8.656 kB / 0.7864 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.6209, allocations: 117.7 kB / 0.7865 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.6213, allocations: 140.9 kB / 0.7866 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.6234, allocations: 1.054 MB / 0.7876 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.6234, allocations: 60.75 kB / 0.7877 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.6235, allocations: 83.78 kB / 0.7878 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.625, allocations: 0.7948 MB / 0.7885 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.625, allocations: 1.406 kB / 0.7885 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.6251, allocations: 25.91 kB / 0.7886 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.6251, allocations: 21.94 kB / 0.7886 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.6263, allocations: 0.5681 MB / 0.7891 GB, free: 11.81 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.004997/0.6313, allocations: 3.488 MB / 0.7926 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.6319, allocations: 247.7 kB / 0.7928 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.6323, allocations: 168.6 kB / 0.793 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.6326, allocations: 60.75 kB / 0.793 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.6327, allocations: 36.88 kB / 0.793 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.6327, allocations: 1.219 kB / 0.793 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001405/0.6341, allocations: 0.5166 MB / 0.7936 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.6341, allocations: 54.75 kB / 0.7936 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.6355, allocations: 0.9498 MB / 0.7945 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.6356, allocations: 40.42 kB / 0.7946 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.6361, allocations: 0.4925 MB / 0.795 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6362, allocations: 122.3 kB / 0.7952 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.6364, allocations: 120.6 kB / 0.7953 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6366, allocations: 331.4 kB / 0.7956 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.6369, allocations: 161.9 kB / 0.7958 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.6375, allocations: 350.8 kB / 0.7961 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.6384, allocations: 0.515 MB / 0.7966 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6384, allocations: 1.188 kB / 0.7966 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001278/0.6397, allocations: 0.624 MB / 0.7972 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6397, allocations: 8.438 kB / 0.7972 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6397, allocations: 4.969 kB / 0.7972 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.6397, allocations: 7.156 kB / 0.7972 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.6402, allocations: 126.8 kB / 0.7973 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.6402, allocations: 16.41 kB / 0.7974 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.6409, allocations: 83.05 kB / 0.7974 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.641, allocations: 28.47 kB / 0.7975 GB, free: 5.988 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.0004717/0.6415, allocations: 278.1 kB / 0.7977 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.6417, allocations: 103.8 kB / 0.7978 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.6427, allocations: 499.1 kB / 0.7983 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.6427, allocations: 3.5 kB / 0.7983 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6427, allocations: 4.938 kB / 0.7983 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007262/0.6434, allocations: 455.2 kB / 0.7987 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.6459, allocations: 1.352 MB / 0.8001 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6459, allocations: 1.188 kB / 0.8001 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.6462, allocations: 80.66 kB / 0.8001 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.6462, allocations: 6.281 kB / 0.8001 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.6462, allocations: 12.5 kB / 0.8002 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.6462, allocations: 2.25 kB / 0.8002 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.6463, allocations: 2.281 kB / 0.8002 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.6477, allocations: 0.775 MB / 0.8009 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.6481, allocations: 158 kB / 0.8011 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.6483, allocations: 8.25 kB / 0.8011 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.6488, allocations: 30.95 kB / 0.8011 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.6488, allocations: 25.61 kB / 0.8011 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.6489, allocations: 19.64 kB / 0.8012 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009862/0.6499, allocations: 0.6638 MB / 0.8018 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6499, allocations: 0 / 0.8018 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001204/0.6511, allocations: 351.1 kB / 0.8021 GB, free: 2.988 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.002373/0.6535, allocations: 1.598 MB / 0.8037 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.6545, allocations: 403.4 kB / 0.8041 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6545, allocations: 384 / 0.8041 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.6549, allocations: 175.4 kB / 0.8042 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.6576, allocations: 0.618 MB / 0.8049 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.668, allocations: 6.858 MB / 0.8116 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.6686, allocations: 1.036 MB / 0.8126 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008619/0.6695, allocations: 199.7 kB / 0.8128 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.67, allocations: 371.9 kB / 0.8131 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.67, allocations: 0 / 0.8131 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07674/0.7467, allocations: 30.5 MB / 0.8429 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.22, allocations: 3.859 kB / 0.8429 GB, free: 14.28 MB / 0.6231 GB " [Timeout remaining time 646] (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.933165565998934] Failed to read output from testmodel.py, exit status != 0: 14.340546363997419 14.364735514 13.742262368 Calling exit ...