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.001142/0.001142, allocations: 104.9 kB / 16.35 MB, free: 5.902 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: 193.9 kB / 17.29 MB, free: 5.523 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 423.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3378, allocations: 80.18 MB / 0.5815 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00428/0.3421, allocations: 4.018 MB / 0.5854 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001554/0.3423, allocations: 161.3 kB / 0.5855 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.3423, allocations: 0 / 0.5855 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.894e-05/0.3425, allocations: 0 / 0.5855 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.3425, allocations: 18.62 kB / 0.5856 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.3428, allocations: 83.03 kB / 0.5856 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.3429, allocations: 37.84 kB / 0.5857 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.343, allocations: 2.531 kB / 0.5857 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.343, allocations: 16.95 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.3431, allocations: 14.58 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3431, allocations: 4.219 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3433, allocations: 57.5 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.3433, allocations: 7.016 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.3434, allocations: 15.89 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3435, allocations: 39.19 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3435, allocations: 0 / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3435, allocations: 0 / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.3435, allocations: 1.062 kB / 0.5858 GB, free: 24.18 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.0003051/0.3438, allocations: 334.3 kB / 0.5862 GB, free: 23.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3439, allocations: 10.66 kB / 0.5862 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3439, allocations: 7.297 kB / 0.5862 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.085e-05/0.344, allocations: 161 kB / 0.5863 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.344, allocations: 32.42 kB / 0.5864 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.3441, allocations: 5.797 kB / 0.5864 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3442, allocations: 43.88 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3442, allocations: 6.938 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3442, allocations: 4 kB / 0.5864 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.3442, allocations: 4.797 kB / 0.5864 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.3443, allocations: 9.688 kB / 0.5864 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.3446, allocations: 338.1 kB / 0.5867 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.817e-05/0.3446, allocations: 21.36 kB / 0.5868 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.3446, allocations: 11.81 kB / 0.5868 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-05/0.3447, allocations: 85.86 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3447, allocations: 32.72 kB / 0.5869 GB, free: 22.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3447, allocations: 0 / 0.5869 GB, free: 22.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.3449, allocations: 36.38 kB / 0.5869 GB, free: 22.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.3449, allocations: 57.16 kB / 0.587 GB, free: 22.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.3449, allocations: 105.6 kB / 0.5871 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.345, allocations: 25.7 kB / 0.5871 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.345, allocations: 91.62 kB / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-06/0.345, allocations: 0 / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.345, allocations: 17.81 kB / 0.5872 GB, free: 22.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.349e-05/0.3451, allocations: 316.2 kB / 0.5875 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.3451, allocations: 2.062 kB / 0.5875 GB, free: 22.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.3451, allocations: 23.95 kB / 0.5875 GB, free: 22.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.3451, allocations: 16.34 kB / 0.5876 GB, free: 22.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3451, allocations: 0.5 kB / 0.5876 GB, free: 22.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.512e-05/0.3452, allocations: 52.81 kB / 0.5876 GB, free: 22.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3452, allocations: 11.5 kB / 0.5876 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3452, allocations: 0 / 0.5876 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3453, allocations: 3.969 kB / 0.5876 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.3453, allocations: 4.844 kB / 0.5876 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3453, allocations: 0 / 0.5876 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.3453, allocations: 8.969 kB / 0.5876 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3454, allocations: 6.984 kB / 0.5876 GB, free: 22.22 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.545e-05/0.3454, allocations: 120 kB / 0.5878 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3454, allocations: 1.719 kB / 0.5878 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.3455, allocations: 113.2 kB / 0.5879 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.3455, allocations: 191.6 kB / 0.588 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/0.3456, allocations: 180.2 kB / 0.5882 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.3456, allocations: 178.2 kB / 0.5884 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3457, allocations: 417.2 kB / 0.5888 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.3457, allocations: 102.3 kB / 0.5889 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.3458, allocations: 110.3 kB / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/0.3458, allocations: 177.1 kB / 0.5892 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3458, allocations: 187.3 kB / 0.5893 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-05/0.3458, allocations: 181.4 kB / 0.5895 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-05/0.3459, allocations: 178.9 kB / 0.5897 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.17e-05/0.3459, allocations: 309.7 kB / 0.59 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.346, allocations: 183.5 kB / 0.5901 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.346, allocations: 182.5 kB / 0.5903 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3461, allocations: 112.3 kB / 0.5904 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.3462, allocations: 181.5 kB / 0.5906 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3462, allocations: 103.2 kB / 0.5907 GB, free: 18.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.963e-05/0.3462, allocations: 81.81 kB / 0.5908 GB, free: 18.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3462, allocations: 0 / 0.5908 GB, free: 18.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3465, allocations: 19.77 kB / 0.5908 GB, free: 18.82 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.0001815/0.3467, allocations: 198.6 kB / 0.591 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.3467, allocations: 14.92 kB / 0.591 GB, free: 18.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3468, allocations: 0 / 0.591 GB, free: 18.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.3468, allocations: 1.094 kB / 0.591 GB, free: 18.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3471, allocations: 459.3 kB / 0.5914 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.3473, allocations: 183 kB / 0.5916 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/0.3474, allocations: 0.6759 MB / 0.5923 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.3475, allocations: 12.55 kB / 0.5923 GB, free: 17.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.3475, allocations: 11.81 kB / 0.5923 GB, free: 17.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3475, allocations: 0 / 0.5923 GB, free: 17.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002441/0.3499, allocations: 0.6351 MB / 0.5929 GB, free: 16.99 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)