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.001834/0.001834, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002104/0.002104, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.483/1.483, 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/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.8354/0.8354, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.001859/0.001859, allocations: 66.06 kB / 0.6134 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1814, allocations: 85.86 MB / 0.6973 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04568/0.2271, allocations: 42.08 MB / 0.7384 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3977/0.6248, allocations: 10.37 MB / 0.7485 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.6271, allocations: 79.28 kB / 0.7486 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.629, allocations: 0.6688 MB / 0.7492 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005471/0.6344, allocations: 1.976 MB / 0.7512 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.6377, allocations: 1.189 MB / 0.7523 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005959/0.6436, allocations: 3.389 MB / 0.7556 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.6455, allocations: 0.869 MB / 0.7565 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/0.6494, allocations: 1.291 MB / 0.7577 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.6514, allocations: 0.933 MB / 0.7586 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.6516, allocations: 100 kB / 0.7587 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.6547, allocations: 0.914 MB / 0.7596 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.6551, allocations: 296.1 kB / 0.7599 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009931/0.6561, allocations: 0.633 MB / 0.7605 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.6603, allocations: 2.001 MB / 0.7625 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6603, allocations: 0 / 0.7625 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6603, allocations: 0 / 0.7625 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.347e-05/0.6603, allocations: 3.75 kB / 0.7625 GB, free: 3.77 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.003556/0.6639, allocations: 1.556 MB / 0.764 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.6639, allocations: 12.34 kB / 0.764 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.6641, allocations: 115.1 kB / 0.7641 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.6646, allocations: 143.4 kB / 0.7643 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.6669, allocations: 1.115 MB / 0.7654 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.667, allocations: 54.09 kB / 0.7654 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6671, allocations: 73.41 kB / 0.7655 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.669, allocations: 0.7877 MB / 0.7662 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.669, allocations: 8.953 kB / 0.7663 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.6691, allocations: 31.25 kB / 0.7663 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.6691, allocations: 18.86 kB / 0.7663 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.6704, allocations: 0.5647 MB / 0.7669 GB, free: 2.316 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.004499/0.6749, allocations: 3.557 MB / 0.7703 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.6755, allocations: 240.4 kB / 0.7706 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.6758, allocations: 171.8 kB / 0.7707 GB, free: 468 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/0.6763, allocations: 0.6574 MB / 0.7714 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.6764, allocations: 35.94 kB / 0.7714 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.6764, allocations: 0 / 0.7714 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001373/0.6777, allocations: 0.5291 MB / 0.7719 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.6778, allocations: 54.69 kB / 0.772 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.679, allocations: 0.9429 MB / 0.7729 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.6791, allocations: 36.86 kB / 0.7729 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.6795, allocations: 0.4949 MB / 0.7734 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.6796, allocations: 119.2 kB / 0.7735 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.6798, allocations: 124 kB / 0.7736 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6799, allocations: 327.5 kB / 0.7739 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.6803, allocations: 167 kB / 0.7741 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.6808, allocations: 348 kB / 0.7744 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.6817, allocations: 0.5186 MB / 0.7749 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6817, allocations: 2.188 kB / 0.7749 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001212/0.6829, allocations: 0.622 MB / 0.7756 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.683, allocations: 8.25 kB / 0.7756 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.683, allocations: 4.562 kB / 0.7756 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.683, allocations: 7.906 kB / 0.7756 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.6835, allocations: 125.8 kB / 0.7757 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.868e-05/0.6835, allocations: 17.27 kB / 0.7757 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.6842, allocations: 82.25 kB / 0.7758 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.6843, allocations: 27.83 kB / 0.7758 GB, free: 13.83 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.0003866/0.6847, allocations: 277.3 kB / 0.7761 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.6849, allocations: 103.6 kB / 0.7762 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.6859, allocations: 485.9 kB / 0.7766 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.6859, allocations: 4.5 kB / 0.7766 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6859, allocations: 5.719 kB / 0.7767 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000766/0.6867, allocations: 451.9 kB / 0.7771 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.6889, allocations: 1.366 MB / 0.7784 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6889, allocations: 1.5 kB / 0.7784 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.6892, allocations: 79.17 kB / 0.7785 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.6893, allocations: 7 kB / 0.7785 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.6893, allocations: 9.922 kB / 0.7785 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.6893, allocations: 5.969 kB / 0.7785 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6893, allocations: 1.344 kB / 0.7785 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.6906, allocations: 0.7648 MB / 0.7793 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.6909, allocations: 241.1 kB / 0.7795 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6911, allocations: 12.06 kB / 0.7795 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.6916, allocations: 34.02 kB / 0.7795 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.6917, allocations: 22.84 kB / 0.7796 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.6917, allocations: 23.34 kB / 0.7796 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008655/0.6926, allocations: 0.662 MB / 0.7802 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6926, allocations: 0 / 0.7802 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001156/0.6937, allocations: 348 kB / 0.7806 GB, free: 11.41 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.002235/0.6959, allocations: 1.578 MB / 0.7821 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008644/0.6968, allocations: 402.2 kB / 0.7825 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6968, allocations: 1.094 kB / 0.7825 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.6972, allocations: 174.9 kB / 0.7827 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.6998, allocations: 0.6077 MB / 0.7832 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009792/0.7096, allocations: 6.839 MB / 0.7899 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.7103, allocations: 1.033 MB / 0.7909 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008734/0.7112, allocations: 203.4 kB / 0.7911 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/0.7118, allocations: 382.7 kB / 0.7915 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.7118, allocations: 0 / 0.7915 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/0.7779, allocations: 29.77 MB / 0.8206 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.563/10.34, allocations: 18.88 kB / 0.8206 GB, free: 12.13 MB / 0.6075 GB " [Timeout remaining time 650] (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: 14.134222847991623] Failed to read output from testmodel.py, exit status != 0: 10.430204086005688 10.456919673 9.791878396 Calling exit ...