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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 101.1 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 196.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7557/0.7557, allocations: 132.2 MB / 422.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 63.91 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3371, allocations: 80.18 MB / 0.5802 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00493/0.342, allocations: 4.053 MB / 0.5842 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.3422, allocations: 162.9 kB / 0.5843 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.3423, allocations: 0 / 0.5843 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.3424, allocations: 1.594 kB / 0.5843 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.976e-05/0.3425, allocations: 18.22 kB / 0.5843 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.3428, allocations: 74.66 kB / 0.5844 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.3429, allocations: 34.41 kB / 0.5844 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.343, allocations: 2.844 kB / 0.5844 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.343, allocations: 17.58 kB / 0.5845 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.3431, allocations: 18.08 kB / 0.5845 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3431, allocations: 3.5 kB / 0.5845 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3433, allocations: 53.31 kB / 0.5845 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.3434, allocations: 11.48 kB / 0.5845 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.3434, allocations: 7.875 kB / 0.5845 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.3435, allocations: 30.83 kB / 0.5846 GB, free: 23.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3435, allocations: 1.156 kB / 0.5846 GB, free: 23.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3436, allocations: 1.094 kB / 0.5846 GB, free: 23.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3436, allocations: 0 / 0.5846 GB, free: 23.36 MB / 446.1 MB 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.0003987/0.344, allocations: 339.6 kB / 0.5849 GB, free: 23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.344, allocations: 9.625 kB / 0.5849 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3441, allocations: 2.188 kB / 0.5849 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/0.3442, allocations: 166.4 kB / 0.5851 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.3442, allocations: 33.58 kB / 0.5851 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.3442, allocations: 1.625 kB / 0.5851 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3444, allocations: 43.62 kB / 0.5851 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3444, allocations: 0 / 0.5851 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3444, allocations: 2.656 kB / 0.5852 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3444, allocations: 5.219 kB / 0.5852 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.3445, allocations: 16.55 kB / 0.5852 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.3448, allocations: 337.8 kB / 0.5855 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.123e-05/0.3449, allocations: 19.73 kB / 0.5855 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.3449, allocations: 6.203 kB / 0.5855 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.376e-05/0.345, allocations: 90.08 kB / 0.5856 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.345, allocations: 35.69 kB / 0.5856 GB, free: 22.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.345, allocations: 1.531 kB / 0.5856 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.3452, allocations: 40.28 kB / 0.5857 GB, free: 22.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3452, allocations: 60.16 kB / 0.5857 GB, free: 22.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.3453, allocations: 104.2 kB / 0.5858 GB, free: 21.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3453, allocations: 29.23 kB / 0.5859 GB, free: 21.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.3453, allocations: 85.36 kB / 0.5859 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/0.3453, allocations: 0 / 0.5859 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3453, allocations: 21.64 kB / 0.586 GB, free: 21.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.3454, allocations: 316.8 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.3454, allocations: 2.594 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.3454, allocations: 23.17 kB / 0.5863 GB, free: 21.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.3455, allocations: 20.75 kB / 0.5863 GB, free: 21.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3455, allocations: 0 / 0.5863 GB, free: 21.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.378e-05/0.3456, allocations: 51.47 kB / 0.5864 GB, free: 21.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3456, allocations: 5.656 kB / 0.5864 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3456, allocations: 1.156 kB / 0.5864 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3456, allocations: 1.688 kB / 0.5864 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.112e-05/0.3456, allocations: 4.438 kB / 0.5864 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3457, allocations: 2.5 kB / 0.5864 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.3457, allocations: 9.125 kB / 0.5864 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3457, allocations: 1.438 kB / 0.5864 GB, free: 21.39 MB / 446.1 MB 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 4.954e-05/0.3458, allocations: 112 kB / 0.5865 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.3458, allocations: 11.48 kB / 0.5865 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/0.3459, allocations: 117.1 kB / 0.5866 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.3459, allocations: 177.9 kB / 0.5868 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.3459, allocations: 180.8 kB / 0.587 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.346, allocations: 194.7 kB / 0.5871 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.3461, allocations: 405.8 kB / 0.5875 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.3461, allocations: 104.9 kB / 0.5876 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.3461, allocations: 103.1 kB / 0.5877 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.437e-05/0.3462, allocations: 186.8 kB / 0.5879 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.3462, allocations: 177.5 kB / 0.5881 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-05/0.3462, allocations: 182.1 kB / 0.5882 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-05/0.3463, allocations: 184.2 kB / 0.5884 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.576e-05/0.3463, allocations: 308 kB / 0.5887 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.3464, allocations: 179.8 kB / 0.5889 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.3464, allocations: 181.8 kB / 0.5891 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3466, allocations: 108.8 kB / 0.5892 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.3466, allocations: 181.7 kB / 0.5893 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3466, allocations: 118.3 kB / 0.5895 GB, free: 18.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.766e-05/0.3466, allocations: 80.97 kB / 0.5895 GB, free: 18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3466, allocations: 2.25 kB / 0.5895 GB, free: 18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.3469, allocations: 12.03 kB / 0.5895 GB, free: 18 MB / 446.1 MB 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.0002621/0.3472, allocations: 200.4 kB / 0.5897 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.3472, allocations: 11.19 kB / 0.5897 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3473, allocations: 0 / 0.5897 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3473, allocations: 0 / 0.5897 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3476, allocations: 468.5 kB / 0.5902 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.3478, allocations: 221.1 kB / 0.5904 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3479, allocations: 0.6711 MB / 0.5911 GB, free: 16.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.348, allocations: 9.875 kB / 0.5911 GB, free: 16.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.348, allocations: 1.25 kB / 0.5911 GB, free: 16.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002123/0.3501, allocations: 0.7483 MB / 0.5918 GB, free: 16.09 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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)