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.00129/0.00129, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001348/0.001348, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.8812/0.8812, allocations: 145 MB / 453.8 MB, free: 0.7344 MB / 350.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.001898/0.001898, allocations: 72.97 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1746, allocations: 87.83 MB / 0.7138 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3785/0.5531, allocations: 42.05 MB / 0.7549 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.5663, allocations: 10.43 MB / 0.7651 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.5685, allocations: 76.88 kB / 0.7651 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.5705, allocations: 0.6632 MB / 0.7658 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006008/0.5765, allocations: 1.987 MB / 0.7677 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.58, allocations: 1.182 MB / 0.7689 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006362/0.5863, allocations: 3.405 MB / 0.7722 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.5881, allocations: 0.8626 MB / 0.773 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/0.5928, allocations: 1.286 MB / 0.7743 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.595, allocations: 0.9316 MB / 0.7752 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.5953, allocations: 98.97 kB / 0.7753 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.5983, allocations: 0.9159 MB / 0.7762 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005371/0.5988, allocations: 300.1 kB / 0.7765 GB, free: 0 / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.6001, allocations: 0.6376 MB / 0.7771 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.6048, allocations: 2.081 MB / 0.7791 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6048, allocations: 0 / 0.7791 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6048, allocations: 0 / 0.7791 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.935e-05/0.6048, allocations: 0 / 0.7791 GB, free: 14.97 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.003282/0.6081, allocations: 1.555 MB / 0.7807 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.6081, allocations: 9.562 kB / 0.7807 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.6083, allocations: 116.2 kB / 0.7808 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.6088, allocations: 141.2 kB / 0.7809 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.6107, allocations: 1.118 MB / 0.782 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.6108, allocations: 54.84 kB / 0.7821 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.6109, allocations: 72.16 kB / 0.7821 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.6124, allocations: 0.7959 MB / 0.7829 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.6124, allocations: 1.188 kB / 0.7829 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/0.6125, allocations: 32.06 kB / 0.7829 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.6125, allocations: 17.62 kB / 0.7829 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.6137, allocations: 0.5707 MB / 0.7835 GB, free: 12.49 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.004846/0.6186, allocations: 3.569 MB / 0.787 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.6192, allocations: 252 kB / 0.7872 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.6196, allocations: 164.9 kB / 0.7874 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.6202, allocations: 0.6615 MB / 0.788 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.6202, allocations: 33.56 kB / 0.7881 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.6202, allocations: 0 / 0.7881 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001433/0.6217, allocations: 0.5224 MB / 0.7886 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.6217, allocations: 58.69 kB / 0.7886 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.623, allocations: 0.9477 MB / 0.7896 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/0.6231, allocations: 36.95 kB / 0.7896 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.6236, allocations: 0.4967 MB / 0.7901 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.6237, allocations: 122.9 kB / 0.7902 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.6239, allocations: 113.8 kB / 0.7903 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6241, allocations: 330.6 kB / 0.7906 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.6245, allocations: 169.2 kB / 0.7908 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/0.625, allocations: 347.4 kB / 0.7911 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.626, allocations: 0.5113 MB / 0.7916 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.626, allocations: 3.312 kB / 0.7916 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00134/0.6273, allocations: 0.6225 MB / 0.7922 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.6273, allocations: 8.156 kB / 0.7922 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6274, allocations: 4.719 kB / 0.7922 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.6274, allocations: 8.031 kB / 0.7922 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.6278, allocations: 122.2 kB / 0.7924 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.6279, allocations: 15.95 kB / 0.7924 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.6286, allocations: 91.06 kB / 0.7925 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.6287, allocations: 28.61 kB / 0.7925 GB, free: 6.16 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.0004625/0.6292, allocations: 273.5 kB / 0.7927 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.6294, allocations: 109.8 kB / 0.7929 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6304, allocations: 488.4 kB / 0.7933 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.6304, allocations: 3.094 kB / 0.7933 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6305, allocations: 4.938 kB / 0.7933 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007669/0.6312, allocations: 451 kB / 0.7938 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.6337, allocations: 1.369 MB / 0.7951 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6337, allocations: 1.125 kB / 0.7951 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.634, allocations: 76.61 kB / 0.7952 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.634, allocations: 6.406 kB / 0.7952 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.6341, allocations: 12.44 kB / 0.7952 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6341, allocations: 2.438 kB / 0.7952 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6341, allocations: 2.531 kB / 0.7952 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.6355, allocations: 0.7643 MB / 0.7959 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.636, allocations: 241.6 kB / 0.7962 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6361, allocations: 8.25 kB / 0.7962 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.6366, allocations: 34.78 kB / 0.7962 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.6367, allocations: 32.14 kB / 0.7962 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.6368, allocations: 12.25 kB / 0.7962 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00096/0.6377, allocations: 0.6665 MB / 0.7969 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6377, allocations: 0 / 0.7969 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001229/0.639, allocations: 338 kB / 0.7972 GB, free: 3.059 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.002423/0.6414, allocations: 1.596 MB / 0.7988 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009963/0.6424, allocations: 407.6 kB / 0.7992 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6424, allocations: 0 / 0.7992 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.6428, allocations: 174.7 kB / 0.7993 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.6456, allocations: 0.6266 MB / 0.7999 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.6557, allocations: 6.832 MB / 0.8066 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.6564, allocations: 1.035 MB / 0.8076 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009115/0.6573, allocations: 197.9 kB / 0.8078 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.6578, allocations: 373.4 kB / 0.8082 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of SimCode: time 1.423e-06/0.6578, allocations: 0 / 0.8082 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06857/0.7264, allocations: 30.06 MB / 0.8375 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.838/10.56, allocations: 10.25 kB / 0.8375 GB, free: 15.14 MB / 0.6231 GB " [Timeout remaining time 649] (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: 14.200597250994178] Failed to read output from testmodel.py, exit status != 0: 10.654548388003604 10.672331509 10.064392661 Calling exit ...