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.001149/0.001149, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008583/0.0008583, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8739/0.8739, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7036/0.7036, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.223e-05, allocations: 8.953 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02536/0.02539, allocations: 38.16 MB / 0.6554 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.03663, allocations: 9.687 MB / 0.6649 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.03832, allocations: 83.31 kB / 0.6649 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.03969, allocations: 0.6441 MB / 0.6656 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.04325, allocations: 2.066 MB / 0.6676 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.04531, allocations: 1.282 MB / 0.6688 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.0484, allocations: 3.487 MB / 0.6722 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008132/0.04921, allocations: 0.8067 MB / 0.673 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.05167, allocations: 1.882 MB / 0.6749 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007495/0.05242, allocations: 0.7943 MB / 0.6756 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.634e-05/0.05252, allocations: 103.9 kB / 0.6757 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.05382, allocations: 0.7169 MB / 0.6764 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.05402, allocations: 302.8 kB / 0.6767 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.05434, allocations: 442.9 kB / 0.6771 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3331/0.3875, allocations: 1.961 MB / 0.6791 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3875, allocations: 0 / 0.6791 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3875, allocations: 0 / 0.6791 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.986e-05/0.3875, allocations: 0 / 0.6791 GB, free: 51.58 MB / 0.6355 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.001633/0.3891, allocations: 1.467 MB / 0.6805 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3892, allocations: 8.375 kB / 0.6805 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.746e-05/0.3893, allocations: 116.4 kB / 0.6806 GB, free: 50.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.3895, allocations: 140.8 kB / 0.6807 GB, free: 50.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3905, allocations: 1.06 MB / 0.6818 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.3905, allocations: 56.92 kB / 0.6818 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.3906, allocations: 71.34 kB / 0.6819 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.3914, allocations: 0.9506 MB / 0.6828 GB, free: 50.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3914, allocations: 0 / 0.6828 GB, free: 50.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.3914, allocations: 33.53 kB / 0.6829 GB, free: 50.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.3915, allocations: 22.22 kB / 0.6829 GB, free: 50.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.3921, allocations: 0.5692 MB / 0.6834 GB, free: 50.18 MB / 0.6355 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.001967/0.394, allocations: 2.73 MB / 0.6861 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.3944, allocations: 241.8 kB / 0.6863 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.3945, allocations: 170.7 kB / 0.6865 GB, free: 49.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.3947, allocations: 67.06 kB / 0.6866 GB, free: 49.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.3947, allocations: 38.42 kB / 0.6866 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 1.442e-06/0.3947, allocations: 0.7188 kB / 0.6866 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.0006404/0.3953, allocations: 0.5184 MB / 0.6871 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.3954, allocations: 60.66 kB / 0.6872 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.3961, allocations: 0.9627 MB / 0.6881 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3961, allocations: 38.89 kB / 0.6881 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.3963, allocations: 0.4985 MB / 0.6886 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.3964, allocations: 118.8 kB / 0.6887 GB, free: 48.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.3965, allocations: 118.8 kB / 0.6889 GB, free: 48.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.3965, allocations: 326 kB / 0.6892 GB, free: 48.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3967, allocations: 159.3 kB / 0.6893 GB, free: 48.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.397, allocations: 0.4965 MB / 0.6898 GB, free: 47.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.3974, allocations: 0.5104 MB / 0.6903 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3974, allocations: 0 / 0.6903 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006031/0.398, allocations: 0.6312 MB / 0.6909 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.398, allocations: 11.62 kB / 0.6909 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3981, allocations: 5.469 kB / 0.6909 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3981, allocations: 8.156 kB / 0.6909 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3983, allocations: 125.1 kB / 0.6911 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3983, allocations: 15.02 kB / 0.6911 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.3986, allocations: 87.12 kB / 0.6912 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3986, allocations: 29.42 kB / 0.6912 GB, free: 47.34 MB / 0.6355 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.0002222/0.3989, allocations: 276 kB / 0.6915 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.3989, allocations: 109.7 kB / 0.6916 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.3995, allocations: 487.8 kB / 0.692 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3996, allocations: 2.938 kB / 0.692 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3996, allocations: 2.562 kB / 0.692 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003896/0.4, allocations: 468.2 kB / 0.6925 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4011, allocations: 1.234 MB / 0.6937 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4011, allocations: 4.156 kB / 0.6937 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.4013, allocations: 74.38 kB / 0.6938 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4013, allocations: 4.422 kB / 0.6938 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4013, allocations: 14.62 kB / 0.6938 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4013, allocations: 2.438 kB / 0.6938 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4013, allocations: 2.812 kB / 0.6938 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.402, allocations: 0.7778 MB / 0.6945 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.4022, allocations: 154.5 kB / 0.6947 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.4022, allocations: 12.72 kB / 0.6947 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.4025, allocations: 28.83 kB / 0.6947 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.4025, allocations: 35.19 kB / 0.6948 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.4025, allocations: 19.12 kB / 0.6948 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004988/0.403, allocations: 0.669 MB / 0.6954 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.403, allocations: 0 / 0.6954 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006551/0.4037, allocations: 343.1 kB / 0.6958 GB, free: 46.14 MB / 0.6355 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.001159/0.4049, allocations: 1.589 MB / 0.6973 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005004/0.4054, allocations: 412.6 kB / 0.6977 GB, free: 45.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4054, allocations: 0 / 0.6977 GB, free: 45.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.4056, allocations: 177.6 kB / 0.6979 GB, free: 45.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.4069, allocations: 0.6096 MB / 0.6985 GB, free: 45.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/0.4135, allocations: 6.832 MB / 0.7051 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4138, allocations: 448.9 kB / 0.7056 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005492/0.4144, allocations: 205 kB / 0.7058 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.4147, allocations: 375.9 kB / 0.7061 GB, free: 42.69 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/0.4147, allocations: 0 / 0.7061 GB, free: 42.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0478/0.4625, allocations: 32.76 MB / 0.7381 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.473, allocations: 5.031 kB / 0.7381 GB, free: 37.68 MB / 0.6355 GB " [Timeout remaining time 651] (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: 11.270373585633934] Failed to read output from testmodel.py, exit status != 0: 8.57261622697115 8.580092652 8.191012963 Calling exit ...