Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001744/0.001744, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002169/0.002169, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.9188/0.9188, allocations: 134 MB / 447.2 MB, free: 9.977 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",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.002204/0.002204, allocations: 66.55 kB / 0.6192 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1909, allocations: 85.92 MB / 0.7031 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006282/0.1972, allocations: 3.902 MB / 0.7069 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.1975, allocations: 147.5 kB / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.1975, allocations: 0 / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1976, allocations: 7.938 kB / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.1977, allocations: 11.91 kB / 0.7071 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.1982, allocations: 91.25 kB / 0.7072 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1983, allocations: 27.86 kB / 0.7072 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.1984, allocations: 4 kB / 0.7072 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.1985, allocations: 23.91 kB / 0.7072 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.1985, allocations: 7.984 kB / 0.7072 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1986, allocations: 4 kB / 0.7072 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1988, allocations: 55.81 kB / 0.7073 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1989, allocations: 7.984 kB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.1989, allocations: 11.94 kB / 0.7073 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1991, allocations: 64.06 kB / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.1991, allocations: 4 kB / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1991, allocations: 0 / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1991, allocations: 0 / 0.7074 GB, free: 12.71 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.0004816/0.1996, allocations: 258.3 kB / 0.7076 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.1996, allocations: 12.03 kB / 0.7076 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.367e-05/0.1996, allocations: 4.188 kB / 0.7076 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1997, allocations: 30.75 kB / 0.7077 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1997, allocations: 8.938 kB / 0.7077 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1999, allocations: 110.5 kB / 0.7078 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.95e-05/0.2, allocations: 51.97 kB / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2, allocations: 7.938 kB / 0.7078 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2001, allocations: 71.33 kB / 0.7079 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2002, allocations: 0 / 0.7079 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2002, allocations: 0 / 0.7079 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.2002, allocations: 4 kB / 0.7079 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.2002, allocations: 11.98 kB / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.2007, allocations: 239.9 kB / 0.7082 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/0.2008, allocations: 22.58 kB / 0.7082 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.2008, allocations: 8.797 kB / 0.7082 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.2009, allocations: 4.062 kB / 0.7082 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.2009, allocations: 38.55 kB / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2009, allocations: 0 / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000166/0.2011, allocations: 37.69 kB / 0.7083 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2011, allocations: 55.41 kB / 0.7083 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.2012, allocations: 93.86 kB / 0.7084 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2012, allocations: 25.7 kB / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.2013, allocations: 104.1 kB / 0.7085 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/0.2013, allocations: 0 / 0.7085 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.2013, allocations: 17.67 kB / 0.7086 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2015, allocations: 322.7 kB / 0.7089 GB, free: 11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.2015, allocations: 7.984 kB / 0.7089 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.2015, allocations: 13.72 kB / 0.7089 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.2016, allocations: 21.72 kB / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2016, allocations: 0 / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.754e-05/0.2016, allocations: 53.66 kB / 0.709 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2017, allocations: 4 kB / 0.709 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2017, allocations: 0 / 0.709 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2017, allocations: 4 kB / 0.709 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.2017, allocations: 4 kB / 0.709 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2017, allocations: 3.938 kB / 0.709 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.2017, allocations: 3.984 kB / 0.709 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2018, allocations: 7.938 kB / 0.709 GB, free: 10.86 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 7.809e-05/0.2018, allocations: 105.8 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.2019, allocations: 4 kB / 0.7091 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.202, allocations: 125 kB / 0.7092 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8e-05/0.2021, allocations: 180.2 kB / 0.7094 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.297e-05/0.2022, allocations: 180.2 kB / 0.7095 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.496e-05/0.2022, allocations: 180.3 kB / 0.7097 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.2025, allocations: 384.2 kB / 0.7101 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.681e-05/0.2025, allocations: 101 kB / 0.7102 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.2026, allocations: 105 kB / 0.7103 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.2027, allocations: 184.2 kB / 0.7105 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-05/0.2027, allocations: 180.3 kB / 0.7106 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.618e-05/0.2028, allocations: 184.2 kB / 0.7108 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.123e-05/0.2029, allocations: 184.3 kB / 0.711 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.2031, allocations: 315.7 kB / 0.7113 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.2031, allocations: 105 kB / 0.7114 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2032, allocations: 184.2 kB / 0.7116 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2034, allocations: 105 kB / 0.7117 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.2035, allocations: 180.2 kB / 0.7118 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.2036, allocations: 104.9 kB / 0.7119 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.2036, allocations: 91.22 kB / 0.712 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2036, allocations: 0 / 0.712 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002786/0.2039, allocations: 19.88 kB / 0.712 GB, free: 7.531 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.0006315/0.2045, allocations: 0.8282 MB / 0.7128 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.2046, allocations: 7.938 kB / 0.7128 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2046, allocations: 0 / 0.7128 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.2046, allocations: 0 / 0.7128 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.2052, allocations: 467.2 kB / 0.7133 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2065, allocations: 1.321 MB / 0.7146 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.386e-05/0.2066, allocations: 63.41 kB / 0.7146 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.529e-05/0.2066, allocations: 8 kB / 0.7147 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.2066, allocations: 11.44 kB / 0.7147 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2066, allocations: 0 / 0.7147 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.2287, allocations: 1.691 MB / 0.7163 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.54, allocations: 4.5 kB / 0.7163 GB, free: 3.156 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.411902570980601] Failed to read output from testmodel.py, exit status != 0: 11.701726356055588 11.729595638 11.5253927 Calling exit ...