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.000805/0.000805, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008578/0.0008578, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9036/0.9036, allocations: 230.6 MB / 256 MB, free: 9.434 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.7563/0.7563, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0009877/0.0009877, allocations: 67.89 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5499, allocations: 102 MB / 0.8178 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03227/0.5822, allocations: 38.46 MB / 0.8554 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.5945, allocations: 9.67 MB / 0.8648 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.5967, allocations: 80.56 kB / 0.8649 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.5984, allocations: 0.6419 MB / 0.8655 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.6032, allocations: 2.009 MB / 0.8675 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.6059, allocations: 1.241 MB / 0.8687 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004848/0.6108, allocations: 3.457 MB / 0.8721 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.6121, allocations: 0.8143 MB / 0.8729 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.6158, allocations: 1.484 MB / 0.8743 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.6175, allocations: 0.876 MB / 0.8752 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.6178, allocations: 101.2 kB / 0.8753 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.6196, allocations: 0.7111 MB / 0.876 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.6199, allocations: 291.8 kB / 0.8762 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009152/0.6208, allocations: 0.5109 MB / 0.8767 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.6245, allocations: 1.964 MB / 0.8787 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6245, allocations: 4 kB / 0.8787 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6245, allocations: 1.531 kB / 0.8787 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.429e-05/0.6245, allocations: 0 / 0.8787 GB, free: 5.172 MB / 0.6511 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.002922/0.6275, allocations: 1.477 MB / 0.8801 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.6275, allocations: 10.34 kB / 0.8801 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.6277, allocations: 110.7 kB / 0.8802 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.6281, allocations: 145.2 kB / 0.8804 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.6299, allocations: 1.067 MB / 0.8814 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.6299, allocations: 55.41 kB / 0.8815 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6301, allocations: 71.19 kB / 0.8815 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.6317, allocations: 0.941 MB / 0.8824 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.6317, allocations: 9.031 kB / 0.8824 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.6317, allocations: 31.88 kB / 0.8825 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.6318, allocations: 18.16 kB / 0.8825 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/0.6327, allocations: 0.5708 MB / 0.8831 GB, free: 2.016 MB / 0.6511 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.00377/0.6365, allocations: 2.738 MB / 0.8857 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.6369, allocations: 244.1 kB / 0.886 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.6371, allocations: 168.7 kB / 0.8861 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.6373, allocations: 59.95 kB / 0.8862 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.6373, allocations: 34.56 kB / 0.8862 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 4.188e-06/0.6373, allocations: 3.984 kB / 0.8862 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0008677/0.6382, allocations: 0.5291 MB / 0.8867 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.6382, allocations: 55.41 kB / 0.8868 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.6391, allocations: 0.9576 MB / 0.8877 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.6392, allocations: 33.7 kB / 0.8877 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6395, allocations: 0.5081 MB / 0.8882 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.6399, allocations: 123 kB / 0.8884 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.64, allocations: 106.3 kB / 0.8885 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.6401, allocations: 333.9 kB / 0.8888 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.6403, allocations: 173.1 kB / 0.8889 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.6406, allocations: 0.4904 MB / 0.8894 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.6411, allocations: 0.5043 MB / 0.8899 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6411, allocations: 7.938 kB / 0.8899 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007569/0.6419, allocations: 0.6252 MB / 0.8905 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.6419, allocations: 4.688 kB / 0.8905 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.6419, allocations: 8 kB / 0.8905 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.6419, allocations: 12 kB / 0.8906 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.6422, allocations: 123.8 kB / 0.8907 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6422, allocations: 11.94 kB / 0.8907 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.6427, allocations: 87.44 kB / 0.8908 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.6427, allocations: 27.94 kB / 0.8908 GB, free: 10.15 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.0003323/0.6431, allocations: 278.7 kB / 0.8911 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.6432, allocations: 103.3 kB / 0.8912 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.6438, allocations: 487.3 kB / 0.8916 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6439, allocations: 4 kB / 0.8916 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6439, allocations: 4 kB / 0.8916 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004285/0.6443, allocations: 465.2 kB / 0.8921 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.6459, allocations: 1.241 MB / 0.8933 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6459, allocations: 4 kB / 0.8933 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.6461, allocations: 87.97 kB / 0.8934 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.6461, allocations: 4 kB / 0.8934 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.6461, allocations: 12.06 kB / 0.8934 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.6461, allocations: 3.938 kB / 0.8934 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6461, allocations: 4 kB / 0.8934 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000826/0.6469, allocations: 0.7646 MB / 0.8941 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.6472, allocations: 163.1 kB / 0.8943 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.6473, allocations: 11.94 kB / 0.8943 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.6476, allocations: 27.97 kB / 0.8943 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.6476, allocations: 23.95 kB / 0.8944 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.6477, allocations: 19.98 kB / 0.8944 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000647/0.6483, allocations: 0.6707 MB / 0.895 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6483, allocations: 0 / 0.895 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001226/0.6495, allocations: 339.3 kB / 0.8954 GB, free: 5.332 MB / 0.6667 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.001778/0.6513, allocations: 1.597 MB / 0.8969 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006731/0.652, allocations: 408.5 kB / 0.8973 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.652, allocations: 4 kB / 0.8973 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.6522, allocations: 168.3 kB / 0.8975 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.6543, allocations: 0.6164 MB / 0.8981 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.6619, allocations: 6.874 MB / 0.9048 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.6622, allocations: 453.2 kB / 0.9052 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006936/0.6629, allocations: 198.2 kB / 0.9054 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.6633, allocations: 371.3 kB / 0.9058 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.663e-06/0.6633, allocations: 4 kB / 0.9058 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.7235, allocations: 32.69 MB / 0.9377 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/8.113, allocations: 8.062 kB / 0.9377 GB, free: 10.14 MB / 0.7136 GB " [Timeout remaining time 652] (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: 11.046844069845974] Failed to read output from testmodel.py, exit status != 0: 8.20540942484513 8.21604364 7.589434272 Calling exit ...