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.001443/0.001443, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001644/0.001644, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.781 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.8314/0.8314, allocations: 134 MB / 446.4 MB, free: 9.957 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.001988/0.001988, allocations: 63.19 kB / 0.6185 GB, free: 7.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2062, allocations: 85.92 MB / 0.7024 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04642/0.2527, allocations: 38.39 MB / 0.7399 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.2693, allocations: 9.624 MB / 0.7493 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.2717, allocations: 79.31 kB / 0.7494 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.2737, allocations: 0.6405 MB / 0.75 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.4808/0.7546, allocations: 1.991 MB / 0.7519 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.758, allocations: 1.208 MB / 0.7531 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00581/0.7638, allocations: 3.446 MB / 0.7565 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.7653, allocations: 0.8077 MB / 0.7573 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.7691, allocations: 1.301 MB / 0.7585 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.7706, allocations: 0.9002 MB / 0.7594 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.7708, allocations: 100.1 kB / 0.7595 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.7734, allocations: 0.7157 MB / 0.7602 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.7737, allocations: 301.1 kB / 0.7605 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007341/0.7744, allocations: 0.5044 MB / 0.761 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.7783, allocations: 1.96 MB / 0.7629 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7783, allocations: 1.094 kB / 0.7629 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7783, allocations: 0 / 0.7629 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.385e-05/0.7783, allocations: 0 / 0.7629 GB, free: 4.277 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.002816/0.7811, allocations: 1.479 MB / 0.7643 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.7812, allocations: 10.28 kB / 0.7644 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.7813, allocations: 115.9 kB / 0.7645 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.7818, allocations: 140 kB / 0.7646 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.784, allocations: 1.056 MB / 0.7656 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.7841, allocations: 55.69 kB / 0.7657 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.7842, allocations: 68.69 kB / 0.7657 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.7857, allocations: 0.9435 MB / 0.7667 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.7857, allocations: 3.953 kB / 0.7667 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.7858, allocations: 30.16 kB / 0.7667 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.7858, allocations: 26.53 kB / 0.7667 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.787, allocations: 0.5658 MB / 0.7673 GB, free: 2.785 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.003934/0.791, allocations: 2.735 MB / 0.77 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.7915, allocations: 247.7 kB / 0.7702 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.7919, allocations: 166.5 kB / 0.7703 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.7921, allocations: 58.11 kB / 0.7704 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.7922, allocations: 40.98 kB / 0.7704 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.7922, allocations: 0 / 0.7704 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001221/0.7934, allocations: 0.5195 MB / 0.7709 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.7934, allocations: 55.98 kB / 0.771 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.7947, allocations: 0.9615 MB / 0.7719 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.7947, allocations: 32.39 kB / 0.772 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.7951, allocations: 0.4991 MB / 0.7725 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7952, allocations: 119.9 kB / 0.7726 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.7954, allocations: 119.7 kB / 0.7727 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.7954, allocations: 332.1 kB / 0.773 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.7958, allocations: 164.8 kB / 0.7732 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.7963, allocations: 0.4921 MB / 0.7736 GB, free: 240 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/0.7971, allocations: 0.5094 MB / 0.7741 GB, free: 44 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7971, allocations: 1.406 kB / 0.7741 GB, free: 44 kB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001188/0.7983, allocations: 0.6327 MB / 0.7748 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7984, allocations: 7.438 kB / 0.7748 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.7984, allocations: 5.125 kB / 0.7748 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7984, allocations: 13.31 kB / 0.7748 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.7988, allocations: 124.3 kB / 0.7749 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.7988, allocations: 8.094 kB / 0.7749 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.7996, allocations: 84.19 kB / 0.775 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.7996, allocations: 30.27 kB / 0.775 GB, free: 15.89 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.0003867/0.8, allocations: 281.5 kB / 0.7753 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.8002, allocations: 104 kB / 0.7754 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009992/0.8012, allocations: 486.7 kB / 0.7759 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8012, allocations: 3.625 kB / 0.7759 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.8012, allocations: 6.297 kB / 0.7759 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000778/0.802, allocations: 455.1 kB / 0.7763 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.8043, allocations: 1.241 MB / 0.7775 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8043, allocations: 5.688 kB / 0.7775 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.8047, allocations: 78.53 kB / 0.7776 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.8047, allocations: 5 kB / 0.7776 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.8047, allocations: 8.938 kB / 0.7776 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.8047, allocations: 2.562 kB / 0.7776 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8047, allocations: 4.125 kB / 0.7776 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.8061, allocations: 0.7798 MB / 0.7784 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.8065, allocations: 161.5 kB / 0.7785 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.8066, allocations: 6.25 kB / 0.7785 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.8071, allocations: 32.86 kB / 0.7786 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.8071, allocations: 26.09 kB / 0.7786 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.8072, allocations: 23.94 kB / 0.7786 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000962/0.8082, allocations: 0.6646 MB / 0.7793 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8082, allocations: 0 / 0.7793 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00136/0.8095, allocations: 344.5 kB / 0.7796 GB, free: 14.52 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.002848/0.8124, allocations: 1.583 MB / 0.7811 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.8134, allocations: 405.7 kB / 0.7815 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8134, allocations: 4.938 kB / 0.7815 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.8139, allocations: 181.8 kB / 0.7817 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.8168, allocations: 0.6067 MB / 0.7823 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.8277, allocations: 6.853 MB / 0.789 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.8282, allocations: 453.2 kB / 0.7894 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008854/0.8291, allocations: 194.2 kB / 0.7896 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005618/0.8297, allocations: 372.3 kB / 0.79 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of SimCode: time 1.604e-06/0.8297, allocations: 3.938 kB / 0.79 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08293/0.9126, allocations: 32.65 MB / 0.8218 GB, free: 356 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.28, allocations: 7.984 kB / 0.8218 GB, free: 348 kB / 0.5919 GB " [Timeout remaining time 647] (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.205502008087933] Failed to read output from testmodel.py, exit status != 0: 13.408437123056501 13.435753590000001 12.652685741 Calling exit ...