Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001294/0.001294, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001496/0.001496, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8658/0.8658, allocations: 134 MB / 446.4 MB, free: 10.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001949/0.001949, allocations: 62.91 kB / 0.6186 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1693, allocations: 85.91 MB / 0.7025 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04835/0.2176, allocations: 42.47 MB / 0.7439 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3931/0.6108, allocations: 10.41 MB / 0.7541 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.6131, allocations: 82.38 kB / 0.7542 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.6153, allocations: 0.6699 MB / 0.7548 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.6213, allocations: 2.02 MB / 0.7568 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.6248, allocations: 1.232 MB / 0.758 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005738/0.6305, allocations: 3.479 MB / 0.7614 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.6325, allocations: 0.8214 MB / 0.7622 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.6368, allocations: 1.294 MB / 0.7635 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.6392, allocations: 0.9367 MB / 0.7644 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.6396, allocations: 99.78 kB / 0.7645 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.6429, allocations: 0.9422 MB / 0.7654 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005745/0.6435, allocations: 291.2 kB / 0.7657 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.6451, allocations: 0.6327 MB / 0.7663 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.65, allocations: 2.004 MB / 0.7682 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.65, allocations: 1.344 kB / 0.7682 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.65, allocations: 0 / 0.7682 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.185e-05/0.6501, allocations: 0 / 0.7682 GB, free: 3.602 MB / 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.004439/0.6545, allocations: 1.476 MB / 0.7697 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6545, allocations: 9.062 kB / 0.7697 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002553/0.6548, allocations: 117.1 kB / 0.7698 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.6554, allocations: 138.9 kB / 0.7699 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.6579, allocations: 1.056 MB / 0.771 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.658, allocations: 54.59 kB / 0.771 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.6581, allocations: 72.23 kB / 0.7711 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.6598, allocations: 0.792 MB / 0.7719 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.6598, allocations: 7.984 kB / 0.7719 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.6599, allocations: 30.28 kB / 0.7719 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.6599, allocations: 20.38 kB / 0.7719 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.6612, allocations: 0.5689 MB / 0.7725 GB, free: 2.289 MB / 0.5606 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.004542/0.6657, allocations: 3.482 MB / 0.7759 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.6663, allocations: 243.8 kB / 0.7761 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.6666, allocations: 172.1 kB / 0.7763 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.6669, allocations: 59.59 kB / 0.7763 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6669, allocations: 39.09 kB / 0.7764 GB, free: 464 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.415e-06/0.6669, allocations: 0 / 0.7764 GB, free: 464 kB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001282/0.6682, allocations: 0.5153 MB / 0.7769 GB, free: 372 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.6682, allocations: 59.97 kB / 0.7769 GB, free: 308 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6695, allocations: 0.9514 MB / 0.7779 GB, free: 144 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.6695, allocations: 32.36 kB / 0.7779 GB, free: 108 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007822/0.6703, allocations: 0.5367 MB / 0.7784 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.6704, allocations: 119.9 kB / 0.7785 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.6706, allocations: 121.7 kB / 0.7786 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6708, allocations: 331.3 kB / 0.779 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.6711, allocations: 160.3 kB / 0.7791 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.6717, allocations: 353.7 kB / 0.7795 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/0.6726, allocations: 0.5157 MB / 0.78 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6726, allocations: 1.688 kB / 0.78 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001288/0.6738, allocations: 0.622 MB / 0.7806 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.6739, allocations: 7.438 kB / 0.7806 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6739, allocations: 4.594 kB / 0.7806 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.6739, allocations: 11.97 kB / 0.7806 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.6744, allocations: 130.7 kB / 0.7807 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.6744, allocations: 11.69 kB / 0.7807 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.6751, allocations: 92.69 kB / 0.7808 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.6752, allocations: 25.53 kB / 0.7808 GB, free: 14.42 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.0004695/0.6757, allocations: 276.4 kB / 0.7811 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.6759, allocations: 103.2 kB / 0.7812 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.6769, allocations: 492.4 kB / 0.7817 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.6769, allocations: 6.828 kB / 0.7817 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6769, allocations: 0 / 0.7817 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007557/0.6777, allocations: 464.5 kB / 0.7821 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.6801, allocations: 1.334 MB / 0.7834 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6802, allocations: 5.531 kB / 0.7834 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.6805, allocations: 80.06 kB / 0.7835 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.6805, allocations: 6.25 kB / 0.7835 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.6805, allocations: 7.781 kB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.6805, allocations: 10.34 kB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6805, allocations: 1.531 kB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.6819, allocations: 0.7778 MB / 0.7843 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.6823, allocations: 153.4 kB / 0.7844 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.6825, allocations: 16.58 kB / 0.7844 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/0.683, allocations: 32.94 kB / 0.7845 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.6831, allocations: 25.09 kB / 0.7845 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.6831, allocations: 16.88 kB / 0.7845 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009521/0.684, allocations: 0.6643 MB / 0.7852 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.684, allocations: 4.062 kB / 0.7852 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001271/0.6853, allocations: 344.3 kB / 0.7855 GB, free: 12.1 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.002337/0.6877, allocations: 1.582 MB / 0.787 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009116/0.6886, allocations: 403 kB / 0.7874 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6886, allocations: 0 / 0.7874 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.6889, allocations: 175.1 kB / 0.7876 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.6917, allocations: 0.6017 MB / 0.7882 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.7029, allocations: 6.877 MB / 0.7949 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.7036, allocations: 1.034 MB / 0.7959 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000953/0.7045, allocations: 192.9 kB / 0.7961 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/0.7051, allocations: 375 kB / 0.7965 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/0.7051, allocations: 2.438 kB / 0.7965 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07444/0.7795, allocations: 30.24 MB / 0.826 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.92, allocations: 5.812 kB / 0.826 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.632020304001344] Failed to read output from testmodel.py, exit status != 0: 14.03792965500179 14.055066711 13.401690915 Calling exit ...