Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008167/0.0008167, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009212/0.0009212, allocations: 217.7 kB / 22.26 MB, free: 3.699 MB / 13.93 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 0.957/0.957, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.797/0.797, allocations: 203.8 MB / 0.5042 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_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.0009392/0.0009392, allocations: 69.14 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4966, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03245/0.5291, allocations: 42.55 MB / 0.8594 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.5409, allocations: 10.46 MB / 0.8696 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.543, allocations: 80.28 kB / 0.8697 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.5447, allocations: 0.6734 MB / 0.8704 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.5495, allocations: 2.028 MB / 0.8724 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.5523, allocations: 1.258 MB / 0.8736 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004631/0.557, allocations: 3.493 MB / 0.877 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.5583, allocations: 0.821 MB / 0.8778 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.5616, allocations: 1.472 MB / 0.8792 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.5631, allocations: 0.9159 MB / 0.8801 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.5633, allocations: 103.9 kB / 0.8802 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.5653, allocations: 0.9368 MB / 0.8811 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.5656, allocations: 292.2 kB / 0.8814 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007303/0.5663, allocations: 0.631 MB / 0.882 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.5694, allocations: 1.998 MB / 0.884 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5694, allocations: 0 / 0.884 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5694, allocations: 0 / 0.884 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.5694, allocations: 0 / 0.884 GB, free: 15.87 MB / 0.6667 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.002361/0.5718, allocations: 1.481 MB / 0.8854 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/0.5718, allocations: 10.06 kB / 0.8854 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.572, allocations: 118.7 kB / 0.8856 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.5723, allocations: 141.7 kB / 0.8857 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.5739, allocations: 1.069 MB / 0.8867 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.574, allocations: 54.41 kB / 0.8868 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/0.5741, allocations: 68.94 kB / 0.8869 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5752, allocations: 0.7873 MB / 0.8876 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5752, allocations: 5.25 kB / 0.8876 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.5752, allocations: 31.56 kB / 0.8877 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.5753, allocations: 17.75 kB / 0.8877 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.5761, allocations: 0.5769 MB / 0.8882 GB, free: 12.9 MB / 0.6667 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.003285/0.5794, allocations: 3.635 MB / 0.8918 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.5798, allocations: 252.2 kB / 0.892 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.58, allocations: 163.5 kB / 0.8922 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.5802, allocations: 63.91 kB / 0.8922 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5803, allocations: 38.56 kB / 0.8923 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.975e-06/0.5803, allocations: 0 / 0.8923 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0007949/0.5811, allocations: 0.522 MB / 0.8928 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.5811, allocations: 55.41 kB / 0.8928 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/0.5819, allocations: 0.9577 MB / 0.8938 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.582, allocations: 37.7 kB / 0.8938 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.5822, allocations: 0.5004 MB / 0.8943 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.5823, allocations: 118.9 kB / 0.8944 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.5824, allocations: 110.3 kB / 0.8945 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.5825, allocations: 329.9 kB / 0.8948 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.5827, allocations: 173.1 kB / 0.895 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.5831, allocations: 351.8 kB / 0.8953 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.5836, allocations: 0.5043 MB / 0.8958 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5836, allocations: 0 / 0.8958 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007176/0.5844, allocations: 0.6297 MB / 0.8964 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5844, allocations: 8.062 kB / 0.8965 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5844, allocations: 8 kB / 0.8965 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5844, allocations: 8 kB / 0.8965 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.5847, allocations: 131.8 kB / 0.8966 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.5847, allocations: 11.94 kB / 0.8966 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.5852, allocations: 83.44 kB / 0.8967 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.5852, allocations: 32 kB / 0.8967 GB, free: 4.516 MB / 0.6667 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.0002845/0.5855, allocations: 285.8 kB / 0.897 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5856, allocations: 103.3 kB / 0.8971 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.5862, allocations: 489.2 kB / 0.8976 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5862, allocations: 4 kB / 0.8976 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5863, allocations: 0 / 0.8976 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000445/0.5867, allocations: 465.2 kB / 0.898 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.5882, allocations: 1.342 MB / 0.8993 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5882, allocations: 4 kB / 0.8993 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.5884, allocations: 79.83 kB / 0.8994 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.5884, allocations: 4 kB / 0.8994 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.5884, allocations: 11.98 kB / 0.8994 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5884, allocations: 3.938 kB / 0.8994 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5884, allocations: 8.156 kB / 0.8994 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008094/0.5892, allocations: 0.7685 MB / 0.9002 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.5895, allocations: 159.1 kB / 0.9003 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.5896, allocations: 8 kB / 0.9003 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.5898, allocations: 35.89 kB / 0.9004 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.5899, allocations: 28.02 kB / 0.9004 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.5899, allocations: 19.98 kB / 0.9004 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006158/0.5905, allocations: 0.6707 MB / 0.9011 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.5905, allocations: 0 / 0.9011 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008077/0.5914, allocations: 339.3 kB / 0.9014 GB, free: 15.59 MB / 0.6823 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.001498/0.5928, allocations: 1.589 MB / 0.9029 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.5934, allocations: 403.9 kB / 0.9033 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5934, allocations: 1.375 kB / 0.9033 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.5936, allocations: 180.6 kB / 0.9035 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5951, allocations: 0.6019 MB / 0.9041 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.6019, allocations: 6.882 MB / 0.9108 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.6024, allocations: 1.044 MB / 0.9118 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007078/0.6031, allocations: 206.3 kB / 0.912 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.6035, allocations: 371.3 kB / 0.9124 GB, free: 4 MB / 0.6823 GB Notification: Performance of SimCode: time 9.81e-07/0.6035, allocations: 0 / 0.9124 GB, free: 4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.6517, allocations: 30.28 MB / 0.9419 GB, free: 6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.236, allocations: 10.52 kB / 0.942 GB, free: 5.992 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.289665743941441] Failed to read output from testmodel.py, exit status != 0: 9.32924927980639 9.342494627 8.770470577 Calling exit ...