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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 103.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.8102/0.8102, allocations: 134 MB / 436.6 MB, free: 1.297 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 69.86 kB / 0.6051 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1929, allocations: 84.67 MB / 0.6878 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006083/0.199, allocations: 3.757 MB / 0.6914 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.1992, allocations: 163.5 kB / 0.6916 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.1993, allocations: 0 / 0.6916 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1994, allocations: 7.922 kB / 0.6916 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.587e-05/0.1995, allocations: 11.92 kB / 0.6916 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1999, allocations: 82.25 kB / 0.6917 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2, allocations: 35.86 kB / 0.6917 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.2, allocations: 7.984 kB / 0.6917 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.2001, allocations: 15.92 kB / 0.6918 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.2002, allocations: 7.984 kB / 0.6918 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2002, allocations: 4 kB / 0.6918 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.2007, allocations: 191.7 kB / 0.6919 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.2008, allocations: 7.984 kB / 0.692 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.2008, allocations: 7.938 kB / 0.692 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.201, allocations: 43.89 kB / 0.692 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.201, allocations: 4 kB / 0.692 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.201, allocations: 3.938 kB / 0.692 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.201, allocations: 0 / 0.692 GB, free: 6.758 MB / 0.5137 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.0004947/0.2015, allocations: 343.4 kB / 0.6923 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2015, allocations: 11.97 kB / 0.6923 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.2016, allocations: 34.75 kB / 0.6924 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.2016, allocations: 4.938 kB / 0.6924 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2017, allocations: 164.3 kB / 0.6925 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.2018, allocations: 26.27 kB / 0.6926 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2018, allocations: 12.12 kB / 0.6926 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.202, allocations: 45.66 kB / 0.6926 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.202, allocations: 0 / 0.6926 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.202, allocations: 0 / 0.6926 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.202, allocations: 8 kB / 0.6926 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.2021, allocations: 15.92 kB / 0.6926 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.2025, allocations: 334 kB / 0.693 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.2026, allocations: 18.58 kB / 0.693 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.2026, allocations: 8.844 kB / 0.693 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.282e-05/0.2027, allocations: 85.17 kB / 0.6931 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2027, allocations: 38.5 kB / 0.6931 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2027, allocations: 0 / 0.6931 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.2029, allocations: 45.58 kB / 0.6932 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2029, allocations: 55.53 kB / 0.6932 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.203, allocations: 101.8 kB / 0.6933 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.203, allocations: 25.7 kB / 0.6933 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.2031, allocations: 88.09 kB / 0.6934 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.2031, allocations: 0 / 0.6934 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.2031, allocations: 17.72 kB / 0.6934 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2032, allocations: 314.8 kB / 0.6937 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.2033, allocations: 7.984 kB / 0.6937 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.2033, allocations: 21.72 kB / 0.6938 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.2033, allocations: 17.66 kB / 0.6938 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2033, allocations: 0 / 0.6938 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.604e-05/0.2034, allocations: 53.62 kB / 0.6938 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2034, allocations: 4 kB / 0.6938 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2034, allocations: 0 / 0.6938 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2034, allocations: 64 / 0.6938 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-05/0.2035, allocations: 15.98 kB / 0.6938 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2035, allocations: 0 / 0.6938 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.2035, allocations: 3.953 kB / 0.6938 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2035, allocations: 3.938 kB / 0.6939 GB, free: 4.586 MB / 0.5137 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 8.27e-05/0.2036, allocations: 117.8 kB / 0.694 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.2036, allocations: 0 / 0.694 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2037, allocations: 120.9 kB / 0.6941 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.889e-05/0.2038, allocations: 180.3 kB / 0.6943 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-05/0.2039, allocations: 188.3 kB / 0.6944 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.445e-05/0.204, allocations: 180.2 kB / 0.6946 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.2042, allocations: 409.2 kB / 0.695 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.2043, allocations: 108.9 kB / 0.6951 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.2043, allocations: 109 kB / 0.6952 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.509e-05/0.2044, allocations: 176.3 kB / 0.6954 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/0.2045, allocations: 184.2 kB / 0.6955 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.916e-05/0.2046, allocations: 176.3 kB / 0.6957 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-05/0.2047, allocations: 180.2 kB / 0.6959 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2048, allocations: 311.8 kB / 0.6962 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.2049, allocations: 182 kB / 0.6964 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.205, allocations: 180.3 kB / 0.6965 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2052, allocations: 112.9 kB / 0.6966 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.2053, allocations: 180.3 kB / 0.6968 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.2053, allocations: 105 kB / 0.6969 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.2054, allocations: 83.27 kB / 0.697 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2054, allocations: 3.938 kB / 0.697 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002517/0.2056, allocations: 27.81 kB / 0.697 GB, free: 1.117 MB / 0.5137 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.0006439/0.2063, allocations: 0.8359 MB / 0.6978 GB, free: 260 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.2064, allocations: 11.94 kB / 0.6978 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2064, allocations: 0 / 0.6978 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.2064, allocations: 3.984 kB / 0.6978 GB, free: 244 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.2068, allocations: 459.8 kB / 0.6983 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2079, allocations: 1.313 MB / 0.6996 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.2082, allocations: 0.6768 MB / 0.7002 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.2082, allocations: 5.859 kB / 0.7002 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.2082, allocations: 15.38 kB / 0.7002 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.2082, allocations: 0 / 0.7002 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.2325, allocations: 1.522 MB / 0.7017 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.9, allocations: 16.23 kB / 0.7018 GB, free: 12.28 MB / 0.5294 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.377333179116249] Failed to read output from testmodel.py, exit status != 0: 7.9679908119142056 7.994535441 7.7887837189999996 Calling exit ...