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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005705/0.005705, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001282/0.001282, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7299/0.7299, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 65.95 kB / 0.5808 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1342/0.2973, allocations: 135.4 MB / 0.7914 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.2975, allocations: 55.8 kB / 0.7915 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.2976, allocations: 0 / 0.7915 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2977, allocations: 0 / 0.7915 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.2978, allocations: 15.91 kB / 0.7915 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.2986, allocations: 251 kB / 0.7917 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.543e-05/0.2987, allocations: 35.8 kB / 0.7918 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.2988, allocations: 0 / 0.7918 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.2988, allocations: 19.97 kB / 0.7918 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.2989, allocations: 15.94 kB / 0.7918 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2989, allocations: 0 / 0.7918 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.2994, allocations: 247.5 kB / 0.792 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.2994, allocations: 7.922 kB / 0.792 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.2995, allocations: 7.984 kB / 0.792 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.2999, allocations: 190.5 kB / 0.7922 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2999, allocations: 0 / 0.7922 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2999, allocations: 0 / 0.7922 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2999, allocations: 4 kB / 0.7922 GB, free: 5.188 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.0004303/0.3003, allocations: 362.4 kB / 0.7926 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3004, allocations: 12.02 kB / 0.7926 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.3004, allocations: 34.75 kB / 0.7926 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3005, allocations: 4.938 kB / 0.7926 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.809e-05/0.3006, allocations: 168.3 kB / 0.7928 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/0.3006, allocations: 33.95 kB / 0.7928 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.3007, allocations: 4 kB / 0.7928 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.3008, allocations: 45.67 kB / 0.7929 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3008, allocations: 0 / 0.7929 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3008, allocations: 4 kB / 0.7929 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.3008, allocations: 7.938 kB / 0.7929 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.3009, allocations: 11.98 kB / 0.7929 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.3016, allocations: 0.595 MB / 0.7935 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.062e-05/0.3017, allocations: 26.52 kB / 0.7935 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.3017, allocations: 8.859 kB / 0.7935 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.3019, allocations: 336.5 kB / 0.7938 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3019, allocations: 30.56 kB / 0.7939 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/0.3019, allocations: 3.984 kB / 0.7939 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.302, allocations: 33.7 kB / 0.7939 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3021, allocations: 59.34 kB / 0.7939 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.3022, allocations: 97.84 kB / 0.794 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.3022, allocations: 29.83 kB / 0.7941 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.3022, allocations: 88.05 kB / 0.7942 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.3022, allocations: 4 kB / 0.7942 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.3023, allocations: 21.61 kB / 0.7942 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3024, allocations: 318.8 kB / 0.7945 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.3024, allocations: 0 / 0.7945 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.3024, allocations: 17.7 kB / 0.7945 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.3025, allocations: 25.72 kB / 0.7945 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3025, allocations: 0 / 0.7945 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.615e-05/0.3026, allocations: 49.62 kB / 0.7946 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3026, allocations: 8 kB / 0.7946 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3026, allocations: 0 / 0.7946 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3026, allocations: 0 / 0.7946 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.3026, allocations: 4 kB / 0.7946 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3027, allocations: 4 kB / 0.7946 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.3027, allocations: 8 kB / 0.7946 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3027, allocations: 0 / 0.7946 GB, free: 2.375 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.427e-05/0.3028, allocations: 121.7 kB / 0.7947 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3028, allocations: 0 / 0.7947 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3029, allocations: 117 kB / 0.7948 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.773e-05/0.303, allocations: 176.3 kB / 0.795 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.303, allocations: 188.2 kB / 0.7952 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-05/0.3031, allocations: 184.2 kB / 0.7953 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3033, allocations: 409.2 kB / 0.7957 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-05/0.3033, allocations: 109 kB / 0.7958 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.3034, allocations: 104.9 kB / 0.7959 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.962e-05/0.3034, allocations: 184.1 kB / 0.7961 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.3035, allocations: 184.3 kB / 0.7963 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-05/0.3035, allocations: 188.2 kB / 0.7965 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.556e-05/0.3036, allocations: 176.5 kB / 0.7966 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.3037, allocations: 311.7 kB / 0.7969 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.3038, allocations: 190 kB / 0.7971 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.3039, allocations: 184.2 kB / 0.7973 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.304, allocations: 101 kB / 0.7974 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.3041, allocations: 188.2 kB / 0.7976 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3041, allocations: 104.9 kB / 0.7977 GB, free: 15 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.3042, allocations: 83.28 kB / 0.7977 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3042, allocations: 4 kB / 0.7978 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000304/0.3045, allocations: 59.92 kB / 0.7978 GB, free: 14.86 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.0005103/0.305, allocations: 0.8828 MB / 0.7987 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.065e-05/0.3051, allocations: 7.984 kB / 0.7987 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3051, allocations: 4 kB / 0.7987 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3051, allocations: 0 / 0.7987 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3055, allocations: 473.8 kB / 0.7991 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.3065, allocations: 1.336 MB / 0.8004 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3067, allocations: 0.6729 MB / 0.8011 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.3067, allocations: 10.39 kB / 0.8011 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3068, allocations: 19.36 kB / 0.8011 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.3068, allocations: 0 / 0.8011 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.3252, allocations: 2.197 MB / 0.8033 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.517, allocations: 2.531 kB / 0.8033 GB, free: 9.242 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)