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.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.001547/0.001547, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002351/0.002351, allocations: 192 kB / 22.23 MB, free: 5.16 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.515/1.515, allocations: 225.6 MB / 251 MB, free: 13.02 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.8545/0.8545, allocations: 134 MB / 440.3 MB, free: 208 kB / 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: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.64 kB / 0.6107 GB, free: 13.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1969, allocations: 84.73 MB / 0.6935 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006277/0.2032, allocations: 4.066 MB / 0.6974 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.2034, allocations: 155.5 kB / 0.6976 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.2035, allocations: 7.938 kB / 0.6976 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.984e-05/0.2036, allocations: 4 kB / 0.6976 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.2036, allocations: 15.91 kB / 0.6976 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.204, allocations: 83.69 kB / 0.6977 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.2041, allocations: 27.92 kB / 0.6977 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2041, allocations: 4 kB / 0.6977 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.2042, allocations: 11.98 kB / 0.6977 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.2043, allocations: 23.86 kB / 0.6977 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2043, allocations: 0 / 0.6977 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2045, allocations: 67.73 kB / 0.6978 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.2045, allocations: 7.984 kB / 0.6978 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.2046, allocations: 4 kB / 0.6978 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2047, allocations: 47.83 kB / 0.6979 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2047, allocations: 0 / 0.6979 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2047, allocations: 0 / 0.6979 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2047, allocations: 0 / 0.6979 GB, free: 4.617 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.0004732/0.2052, allocations: 266.3 kB / 0.6981 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2052, allocations: 12.02 kB / 0.6981 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.2053, allocations: 0.9375 kB / 0.6981 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2054, allocations: 106.5 kB / 0.6982 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.2055, allocations: 26.27 kB / 0.6983 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2055, allocations: 4.375 kB / 0.6983 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.2057, allocations: 49.56 kB / 0.6983 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2057, allocations: 0 / 0.6983 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2057, allocations: 0 / 0.6983 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.2057, allocations: 11.98 kB / 0.6983 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.2057, allocations: 11.98 kB / 0.6983 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.2062, allocations: 232 kB / 0.6986 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.2063, allocations: 18.58 kB / 0.6986 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.2063, allocations: 12.86 kB / 0.6986 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.2063, allocations: 11.98 kB / 0.6986 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2064, allocations: 34.56 kB / 0.6986 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2064, allocations: 0 / 0.6986 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.2065, allocations: 41.59 kB / 0.6987 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2066, allocations: 55.41 kB / 0.6987 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.2067, allocations: 105.8 kB / 0.6988 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2067, allocations: 25.7 kB / 0.6988 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.2067, allocations: 92.08 kB / 0.6989 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-06/0.2067, allocations: 4.125 kB / 0.6989 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2068, allocations: 17.7 kB / 0.699 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2069, allocations: 318.8 kB / 0.6993 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.2069, allocations: 7.938 kB / 0.6993 GB, free: 3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.207, allocations: 13.72 kB / 0.6993 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.207, allocations: 25.7 kB / 0.6993 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.207, allocations: 4 kB / 0.6993 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.788e-05/0.2071, allocations: 49.62 kB / 0.6994 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2071, allocations: 4 kB / 0.6994 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2071, allocations: 4 kB / 0.6994 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2072, allocations: 0 / 0.6994 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.2072, allocations: 4 kB / 0.6994 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2072, allocations: 0 / 0.6994 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.2072, allocations: 7.891 kB / 0.6994 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2072, allocations: 4 kB / 0.6994 GB, free: 2.867 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.174e-05/0.2073, allocations: 113.8 kB / 0.6995 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.2073, allocations: 4 kB / 0.6995 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.2075, allocations: 124.9 kB / 0.6996 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.288e-05/0.2075, allocations: 176.3 kB / 0.6998 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.522e-05/0.2076, allocations: 180.2 kB / 0.7 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.818e-05/0.2077, allocations: 184.2 kB / 0.7001 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.208, allocations: 380.2 kB / 0.7005 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.235e-05/0.208, allocations: 104.9 kB / 0.7006 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.2081, allocations: 105 kB / 0.7007 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-05/0.2082, allocations: 180.2 kB / 0.7009 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.2082, allocations: 180.3 kB / 0.701 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.555e-05/0.2083, allocations: 188.2 kB / 0.7012 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-05/0.2084, allocations: 184.2 kB / 0.7014 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.2086, allocations: 307.7 kB / 0.7017 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.2087, allocations: 101 kB / 0.7018 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2088, allocations: 192.2 kB / 0.702 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.2089, allocations: 104.9 kB / 0.7021 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.209, allocations: 180.3 kB / 0.7022 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.2091, allocations: 112.9 kB / 0.7023 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.2091, allocations: 83.28 kB / 0.7024 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2091, allocations: 0 / 0.7024 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002642/0.2094, allocations: 15.94 kB / 0.7024 GB, free: 15.54 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.0002837/0.2097, allocations: 202.4 kB / 0.7026 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.2098, allocations: 8 kB / 0.7026 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2098, allocations: 0 / 0.7026 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.2098, allocations: 7.938 kB / 0.7026 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.2103, allocations: 459.8 kB / 0.7031 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.2106, allocations: 174.3 kB / 0.7032 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.2109, allocations: 0.6768 MB / 0.7039 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.355e-05/0.211, allocations: 7.938 kB / 0.7039 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.211, allocations: 11.44 kB / 0.7039 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.211, allocations: 0 / 0.7039 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.00339/0.2144, allocations: 0.64 MB / 0.7046 GB, free: 13.31 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.706105913966894] Failed to read output from testmodel.py, exit status != 0: 0.22252816706895828 0.23918749399999994 0.031080002000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f49796797b0>