Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.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.0008175/0.0008175, allocations: 81.67 kB / 19.27 MB, free: 0.6055 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.0008593/0.0008593, allocations: 166.3 kB / 22.57 MB, free: 1.949 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.8966/0.8966, allocations: 177.1 MB / 202.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6743/0.6743, allocations: 116 MB / 375.4 MB, free: 4.152 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.5535 GB, free: 13.24 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.504e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.3942/0.3942, allocations: 128.5 MB / 0.6789 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005231/0.3947, allocations: 377.4 kB / 0.6793 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.3947, allocations: 0.5625 kB / 0.6793 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.395, allocations: 33 kB / 0.6793 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.3954, allocations: 137 kB / 0.6794 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.3957, allocations: 118.3 kB / 0.6796 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.3959, allocations: 135.6 kB / 0.6797 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.396, allocations: 2.438 kB / 0.6797 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.3962, allocations: 98.59 kB / 0.6798 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.3963, allocations: 35.25 kB / 0.6798 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3963, allocations: 4.781 kB / 0.6798 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.3965, allocations: 170.6 kB / 0.68 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.3966, allocations: 18.06 kB / 0.68 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3967, allocations: 21.88 kB / 0.68 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.397, allocations: 224.4 kB / 0.6802 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.397, allocations: 1.469 kB / 0.6802 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.397, allocations: 0 / 0.6802 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.397, allocations: 0 / 0.6802 GB, free: 6.559 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000385/0.3974, allocations: 300.4 kB / 0.6805 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3974, allocations: 8.938 kB / 0.6805 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.3974, allocations: 40.31 kB / 0.6806 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.3978, allocations: 46.78 kB / 0.6806 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3979, allocations: 126 kB / 0.6807 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.398, allocations: 5.656 kB / 0.6807 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.398, allocations: 7.375 kB / 0.6807 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3982, allocations: 200.4 kB / 0.6809 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3982, allocations: 3.938 kB / 0.6809 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3982, allocations: 1.156 kB / 0.6809 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3982, allocations: 4.047 kB / 0.6809 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.3983, allocations: 62.78 kB / 0.681 GB, free: 5.945 MB / 0.5573 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.0005854/0.3989, allocations: 497 kB / 0.6815 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.399, allocations: 71.39 kB / 0.6815 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.3991, allocations: 31.61 kB / 0.6816 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3991, allocations: 3.188 kB / 0.6816 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.3991, allocations: 37.88 kB / 0.6816 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3991, allocations: 0 / 0.6816 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0002085/0.3993, allocations: 112.1 kB / 0.6817 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.3994, allocations: 56.31 kB / 0.6818 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.3994, allocations: 113 kB / 0.6819 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3994, allocations: 30.33 kB / 0.6819 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.3995, allocations: 94.55 kB / 0.682 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.3995, allocations: 24.61 kB / 0.682 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3995, allocations: 35.75 kB / 0.6821 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.973e-05/0.3995, allocations: 315.8 kB / 0.6824 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.3996, allocations: 23.95 kB / 0.6824 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.3996, allocations: 66.48 kB / 0.6824 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.3997, allocations: 99.06 kB / 0.6825 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3997, allocations: 1.203 kB / 0.6825 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001323/0.3999, allocations: 124.7 kB / 0.6827 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3999, allocations: 9 kB / 0.6827 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3999, allocations: 3.891 kB / 0.6827 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3999, allocations: 1.312 kB / 0.6827 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.4001, allocations: 62.48 kB / 0.6827 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001578/0.4002, allocations: 0.591 MB / 0.6833 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.4003, allocations: 19.55 kB / 0.6833 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.4003, allocations: 8.781 kB / 0.6833 GB, free: 4.027 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.4003, allocations: 113.4 kB / 0.6834 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.4004, allocations: 6.625 kB / 0.6835 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.4005, allocations: 129.4 kB / 0.6836 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4005, allocations: 1.062 kB / 0.6836 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4005, allocations: 0 / 0.6836 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4005, allocations: 0 / 0.6836 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.4007, allocations: 170.6 kB / 0.6837 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4007, allocations: 3.938 kB / 0.6837 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.4008, allocations: 52.09 kB / 0.6838 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4008, allocations: 0.9375 kB / 0.6838 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.4008, allocations: 6.75 kB / 0.6838 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/0.4009, allocations: 0.5892 MB / 0.6844 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4009, allocations: 1.094 kB / 0.6844 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.4011, allocations: 194 kB / 0.6846 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.4011, allocations: 4.719 kB / 0.6846 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4011, allocations: 4.812 kB / 0.6846 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.4011, allocations: 2.219 kB / 0.6846 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.4012, allocations: 11.44 kB / 0.6846 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4012, allocations: 6.656 kB / 0.6846 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.284e-05/0.4012, allocations: 87.25 kB / 0.6847 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4012, allocations: 0 / 0.6847 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002016/0.4014, allocations: 37.27 kB / 0.6847 GB, free: 2.891 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003481/0.4017, allocations: 0.7557 MB / 0.6854 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.4019, allocations: 88.72 kB / 0.6855 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4019, allocations: 0 / 0.6855 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.402, allocations: 59.25 kB / 0.6856 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.4023, allocations: 23.2 kB / 0.6856 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4033, allocations: 1.47 MB / 0.687 GB, free: 16.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.4034, allocations: 70.58 kB / 0.6871 GB, free: 16.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.4034, allocations: 18.27 kB / 0.6871 GB, free: 16.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.4035, allocations: 23.83 kB / 0.6872 GB, free: 16.87 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/0.4035, allocations: 1.375 kB / 0.6872 GB, free: 16.87 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.4216, allocations: 4.154 MB / 0.6912 GB, free: 15.78 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.615, allocations: 2.625 kB / 0.6912 GB, free: 15.78 MB / 0.573 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.352102239616215] Failed to read output from testmodel.py, exit status != 0: 8.704677041620016 8.718319865 8.318558976 Calling exit ...