Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001755/0.001755, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001889/0.001889, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.012 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.8346/0.8346, allocations: 134 MB / 446.4 MB, free: 10.23 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002134/0.002134, allocations: 65.45 kB / 0.6185 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.185, allocations: 85.91 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006611/0.1916, allocations: 3.845 MB / 0.7062 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002201/0.1919, allocations: 155.5 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.1919, allocations: 0 / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.192, allocations: 7.938 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.1921, allocations: 7.984 kB / 0.7063 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1924, allocations: 90.81 kB / 0.7064 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.1925, allocations: 35.91 kB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.1926, allocations: 0 / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.1926, allocations: 31.84 kB / 0.7065 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.1927, allocations: 7.984 kB / 0.7065 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1927, allocations: 0 / 0.7065 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006672/0.1934, allocations: 243.5 kB / 0.7067 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.1934, allocations: 11.98 kB / 0.7067 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.1934, allocations: 11.92 kB / 0.7068 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1936, allocations: 59.88 kB / 0.7068 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1936, allocations: 0 / 0.7068 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1936, allocations: 0 / 0.7068 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.1936, allocations: 3.938 kB / 0.7068 GB, free: 12.86 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004729/0.1941, allocations: 258.3 kB / 0.7071 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1941, allocations: 12.03 kB / 0.7071 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.1942, allocations: 34.75 kB / 0.7071 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1942, allocations: 4.938 kB / 0.7071 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1943, allocations: 110.5 kB / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.1944, allocations: 55.95 kB / 0.7073 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.1944, allocations: 12.11 kB / 0.7073 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1946, allocations: 45.62 kB / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1946, allocations: 0 / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.1946, allocations: 0 / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.1946, allocations: 4 kB / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.1946, allocations: 19.92 kB / 0.7073 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.1951, allocations: 235.9 kB / 0.7076 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.1951, allocations: 14.58 kB / 0.7076 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.1951, allocations: 8.922 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.1952, allocations: 4 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1952, allocations: 30.56 kB / 0.7076 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1952, allocations: 4 kB / 0.7076 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.1954, allocations: 45.62 kB / 0.7077 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1954, allocations: 51.41 kB / 0.7077 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.1955, allocations: 105.8 kB / 0.7078 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1955, allocations: 25.7 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.1956, allocations: 84.09 kB / 0.7079 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.1956, allocations: 0 / 0.7079 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.1956, allocations: 21.67 kB / 0.7079 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1958, allocations: 318.9 kB / 0.7083 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.1958, allocations: 7.984 kB / 0.7083 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.1958, allocations: 13.72 kB / 0.7083 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.1959, allocations: 25.66 kB / 0.7083 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1959, allocations: 0 / 0.7083 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.307e-05/0.1959, allocations: 53.91 kB / 0.7083 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.196, allocations: 7.938 kB / 0.7084 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.196, allocations: 0 / 0.7084 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.196, allocations: 4 kB / 0.7084 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.196, allocations: 7.984 kB / 0.7084 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.196, allocations: 0 / 0.7084 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.1961, allocations: 0 / 0.7084 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1961, allocations: 7.984 kB / 0.7084 GB, free: 11.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 9.584e-05/0.1962, allocations: 113.8 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1962, allocations: 8.062 kB / 0.7085 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.1963, allocations: 113 kB / 0.7086 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-05/0.1964, allocations: 184.2 kB / 0.7088 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.773e-05/0.1965, allocations: 176.3 kB / 0.7089 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.472e-05/0.1966, allocations: 184.2 kB / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1968, allocations: 388.2 kB / 0.7095 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-05/0.1969, allocations: 104.9 kB / 0.7096 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.1969, allocations: 105 kB / 0.7097 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-05/0.197, allocations: 184.2 kB / 0.7099 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.1971, allocations: 180.2 kB / 0.71 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-05/0.1972, allocations: 184.2 kB / 0.7102 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-05/0.1973, allocations: 184.2 kB / 0.7104 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1975, allocations: 315.7 kB / 0.7107 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.1975, allocations: 104.9 kB / 0.7108 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/0.1976, allocations: 176.3 kB / 0.711 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1978, allocations: 116.9 kB / 0.7111 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.1979, allocations: 180.3 kB / 0.7112 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.1979, allocations: 105 kB / 0.7113 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.198, allocations: 83.27 kB / 0.7114 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.198, allocations: 0 / 0.7114 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002627/0.1982, allocations: 15.94 kB / 0.7114 GB, free: 7.715 MB / 0.5294 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005491/0.1988, allocations: 0.8243 MB / 0.7122 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.753e-05/0.1989, allocations: 15.98 kB / 0.7123 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1989, allocations: 3.938 kB / 0.7123 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1989, allocations: 0 / 0.7123 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.1994, allocations: 463.8 kB / 0.7127 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2006, allocations: 1.325 MB / 0.714 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.2009, allocations: 0.6768 MB / 0.7147 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.201, allocations: 12.98 kB / 0.7147 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.201, allocations: 11.42 kB / 0.7147 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.201, allocations: 0 / 0.7147 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.2302, allocations: 1.594 MB / 0.7162 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 8.047 kB / 0.7162 GB, free: 2.797 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.05303415900562] Failed to read output from testmodel.py, exit status != 0: 11.373334582000098 11.389227084 11.19256757 Calling exit ...