Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005794/0.005794, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001236/0.001236, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8567/0.8567, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 65.56 kB / 0.5856 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1795, allocations: 80.92 MB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6018/0.7813, allocations: 135.4 MB / 0.7969 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.7815, allocations: 49.84 kB / 0.7969 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.7816, allocations: 0 / 0.7969 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.7817, allocations: 9.312 kB / 0.7969 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.7818, allocations: 15.38 kB / 0.7969 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.7827, allocations: 242.3 kB / 0.7972 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.7828, allocations: 36.05 kB / 0.7972 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.7829, allocations: 1.062 kB / 0.7972 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.7829, allocations: 28.78 kB / 0.7972 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.783, allocations: 5.688 kB / 0.7972 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.783, allocations: 1.125 kB / 0.7972 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.7835, allocations: 249.3 kB / 0.7975 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.7836, allocations: 4.75 kB / 0.7975 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.7836, allocations: 16.42 kB / 0.7975 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.7841, allocations: 186.8 kB / 0.7977 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7841, allocations: 1.031 kB / 0.7977 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7841, allocations: 9.062 kB / 0.7977 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.7841, allocations: 0 / 0.7977 GB, free: 12.8 MB / 0.5919 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.0004722/0.7846, allocations: 355 kB / 0.798 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.7846, allocations: 14.14 kB / 0.798 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.7847, allocations: 2 kB / 0.798 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.7848, allocations: 164 kB / 0.7982 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.7849, allocations: 28.83 kB / 0.7982 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.7849, allocations: 5.031 kB / 0.7982 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.7851, allocations: 54.14 kB / 0.7983 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7851, allocations: 0 / 0.7983 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.7851, allocations: 6.172 kB / 0.7983 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.7851, allocations: 1.031 kB / 0.7983 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.7852, allocations: 16.72 kB / 0.7983 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.786, allocations: 0.599 MB / 0.7989 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.7861, allocations: 24.2 kB / 0.7989 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.7861, allocations: 6.359 kB / 0.7989 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.7863, allocations: 333.8 kB / 0.7992 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.7864, allocations: 35.09 kB / 0.7993 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.7864, allocations: 0 / 0.7993 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.7865, allocations: 38.05 kB / 0.7993 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.7866, allocations: 53.06 kB / 0.7994 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.7867, allocations: 107.5 kB / 0.7995 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.7867, allocations: 25.7 kB / 0.7995 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.7867, allocations: 85.23 kB / 0.7996 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.7867, allocations: 8.125 kB / 0.7996 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.7868, allocations: 15.61 kB / 0.7996 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7869, allocations: 326.4 kB / 0.7999 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.7869, allocations: 2.781 kB / 0.7999 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.787, allocations: 19.8 kB / 0.7999 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.787, allocations: 23.03 kB / 0.7999 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.787, allocations: 0 / 0.7999 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.528e-05/0.7871, allocations: 50.94 kB / 0.8 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7871, allocations: 6.156 kB / 0.8 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7872, allocations: 0 / 0.8 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7872, allocations: 1.312 kB / 0.8 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.7872, allocations: 12.66 kB / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.7872, allocations: 0 / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.7873, allocations: 1.312 kB / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.7873, allocations: 3.781 kB / 0.8 GB, free: 10.32 MB / 0.5919 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.041e-05/0.7874, allocations: 115.7 kB / 0.8001 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.7874, allocations: 1.094 kB / 0.8001 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.7875, allocations: 117.9 kB / 0.8002 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.085e-05/0.7876, allocations: 187.9 kB / 0.8004 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-05/0.7877, allocations: 185.3 kB / 0.8006 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/0.7878, allocations: 182 kB / 0.8008 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.788, allocations: 407.1 kB / 0.8012 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.7881, allocations: 105.2 kB / 0.8013 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.7881, allocations: 108.9 kB / 0.8014 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.811e-05/0.7882, allocations: 179.9 kB / 0.8015 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.7882, allocations: 181.3 kB / 0.8017 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.446e-05/0.7883, allocations: 177.5 kB / 0.8019 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.788e-05/0.7884, allocations: 182.9 kB / 0.802 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.7885, allocations: 310.4 kB / 0.8023 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.7886, allocations: 190.7 kB / 0.8025 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.7887, allocations: 177.5 kB / 0.8027 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.7889, allocations: 107.8 kB / 0.8028 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.789, allocations: 181.6 kB / 0.803 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.789, allocations: 106.4 kB / 0.8031 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.7891, allocations: 85.66 kB / 0.8032 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7891, allocations: 1.438 kB / 0.8032 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000376/0.7895, allocations: 58.23 kB / 0.8032 GB, free: 6.945 MB / 0.5919 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.0003879/0.7899, allocations: 261.9 kB / 0.8035 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.682e-05/0.7899, allocations: 15.88 kB / 0.8035 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.79, allocations: 0 / 0.8035 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.79, allocations: 0.9375 kB / 0.8035 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.7904, allocations: 460.4 kB / 0.8039 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.7907, allocations: 179.8 kB / 0.8041 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.791, allocations: 0.6765 MB / 0.8047 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.791, allocations: 3.531 kB / 0.8048 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.7911, allocations: 9.594 kB / 0.8048 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.7911, allocations: 0 / 0.8048 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of Templates: time 0.004149/0.7952, allocations: 1.296 MB / 0.806 GB, free: 5.25 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)