Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004638/0.004638, allocations: 102 kB / 15.73 MB, free: 6.035 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.001113/0.001113, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7446/0.7446, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 62.25 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1648, allocations: 80.2 MB / 0.6597 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1547/0.3195, allocations: 135.4 MB / 0.7919 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.3197, allocations: 43.88 kB / 0.792 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.3198, allocations: 0 / 0.792 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.32, allocations: 7.922 kB / 0.792 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.3201, allocations: 15.92 kB / 0.792 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3212, allocations: 250.9 kB / 0.7922 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.3213, allocations: 31.91 kB / 0.7922 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.3213, allocations: 4 kB / 0.7923 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.3214, allocations: 15.92 kB / 0.7923 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.3215, allocations: 7.984 kB / 0.7923 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3215, allocations: 11.94 kB / 0.7923 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005585/0.3221, allocations: 243.4 kB / 0.7925 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.3221, allocations: 11.97 kB / 0.7925 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.3222, allocations: 8 kB / 0.7925 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.3226, allocations: 191.6 kB / 0.7927 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3226, allocations: 0 / 0.7927 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3226, allocations: 0 / 0.7927 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3226, allocations: 0 / 0.7927 GB, free: 4.742 MB / 0.6231 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.0006462/0.3233, allocations: 359.4 kB / 0.7931 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3234, allocations: 16.03 kB / 0.7931 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.3234, allocations: 0.9375 kB / 0.7931 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3236, allocations: 164.3 kB / 0.7932 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.3237, allocations: 30.27 kB / 0.7933 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3237, allocations: 3.938 kB / 0.7933 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3239, allocations: 49.67 kB / 0.7933 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3239, allocations: 0 / 0.7933 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3239, allocations: 0 / 0.7933 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.324, allocations: 0 / 0.7933 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.324, allocations: 19.92 kB / 0.7933 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.3249, allocations: 0.6066 MB / 0.7939 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.735e-05/0.3249, allocations: 14.58 kB / 0.7939 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.325, allocations: 8.844 kB / 0.794 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.3252, allocations: 336.5 kB / 0.7943 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3252, allocations: 34.56 kB / 0.7943 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.3252, allocations: 0 / 0.7943 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.3254, allocations: 45.62 kB / 0.7943 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3254, allocations: 51.41 kB / 0.7944 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.3255, allocations: 101.8 kB / 0.7945 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3256, allocations: 29.7 kB / 0.7945 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.3256, allocations: 88.03 kB / 0.7946 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.3256, allocations: 128 / 0.7946 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.3257, allocations: 21.72 kB / 0.7946 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3258, allocations: 314.8 kB / 0.7949 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.3258, allocations: 4 kB / 0.7949 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.3258, allocations: 17.7 kB / 0.7949 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.3259, allocations: 21.66 kB / 0.795 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3259, allocations: 8 kB / 0.795 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.653e-05/0.326, allocations: 49.59 kB / 0.795 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.326, allocations: 4 kB / 0.795 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.326, allocations: 0 / 0.795 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.326, allocations: 4 kB / 0.795 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.3261, allocations: 7.938 kB / 0.795 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3261, allocations: 0 / 0.795 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.3261, allocations: 0 / 0.795 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3261, allocations: 11.92 kB / 0.7951 GB, free: 1.969 MB / 0.6231 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.38e-05/0.3262, allocations: 114.6 kB / 0.7952 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3262, allocations: 0 / 0.7952 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.3264, allocations: 113 kB / 0.7953 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-05/0.3265, allocations: 188.2 kB / 0.7954 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.081e-05/0.3265, allocations: 176.3 kB / 0.7956 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.117e-05/0.3266, allocations: 188.2 kB / 0.7958 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.3268, allocations: 413 kB / 0.7962 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.964e-05/0.3269, allocations: 109 kB / 0.7963 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.3269, allocations: 108.9 kB / 0.7964 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/0.327, allocations: 180.3 kB / 0.7966 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.185e-05/0.3271, allocations: 184.2 kB / 0.7967 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.05e-05/0.3272, allocations: 180.3 kB / 0.7969 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-05/0.3273, allocations: 176.5 kB / 0.7971 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.3274, allocations: 311.7 kB / 0.7974 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.3275, allocations: 193.9 kB / 0.7976 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.3276, allocations: 180.3 kB / 0.7977 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3278, allocations: 109 kB / 0.7978 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.3278, allocations: 184.2 kB / 0.798 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.3279, allocations: 101 kB / 0.7981 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.3279, allocations: 91.16 kB / 0.7982 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.328, allocations: 0 / 0.7982 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003163/0.3283, allocations: 51.98 kB / 0.7983 GB, free: 14.47 MB / 0.6387 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.0003537/0.3286, allocations: 254.4 kB / 0.7985 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.3287, allocations: 15.94 kB / 0.7985 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3288, allocations: 4.125 kB / 0.7985 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.3288, allocations: 0 / 0.7985 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3292, allocations: 457.9 kB / 0.7989 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.3295, allocations: 185.9 kB / 0.7991 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3298, allocations: 0.6729 MB / 0.7998 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.3298, allocations: 12.28 kB / 0.7998 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.3298, allocations: 7.438 kB / 0.7998 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.3299, allocations: 0 / 0.7998 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of Templates: time 0.004101/0.334, allocations: 1.288 MB / 0.8011 GB, free: 11.54 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)