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.007105/0.007105, allocations: 99.25 kB / 15.73 MB, free: 6.492 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.001837/0.001837, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7915/0.7915, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 66.8 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1615, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1558/0.3173, allocations: 135.4 MB / 0.7914 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001676/0.3175, allocations: 55.84 kB / 0.7915 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.3176, allocations: 0 / 0.7915 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 9.606e-05/0.3177, allocations: 3.938 kB / 0.7915 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.3178, allocations: 23.73 kB / 0.7915 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.3186, allocations: 237 kB / 0.7917 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.3187, allocations: 35.84 kB / 0.7918 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.3187, allocations: 3.984 kB / 0.7918 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.3187, allocations: 19.98 kB / 0.7918 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.3188, allocations: 11.92 kB / 0.7918 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3188, allocations: 0 / 0.7918 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.3193, allocations: 247.4 kB / 0.792 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.3194, allocations: 4 kB / 0.792 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.3194, allocations: 11.98 kB / 0.7921 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.3198, allocations: 193.2 kB / 0.7922 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3198, allocations: 3.938 kB / 0.7922 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3198, allocations: 0 / 0.7922 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3199, allocations: 0 / 0.7922 GB, free: 5.234 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.0004558/0.3203, allocations: 367.1 kB / 0.7926 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3204, allocations: 8.031 kB / 0.7926 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3204, allocations: 38.69 kB / 0.7926 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.3204, allocations: 0.9375 kB / 0.7926 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3206, allocations: 164.4 kB / 0.7928 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.3206, allocations: 34.02 kB / 0.7928 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.3207, allocations: 0 / 0.7928 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3208, allocations: 45.69 kB / 0.7929 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3208, allocations: 7.984 kB / 0.7929 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3208, allocations: 7.922 kB / 0.7929 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.3209, allocations: 3.984 kB / 0.7929 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.3209, allocations: 11.94 kB / 0.7929 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.3217, allocations: 0.5989 MB / 0.7935 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.3217, allocations: 18.61 kB / 0.7935 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.3218, allocations: 8.859 kB / 0.7935 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.322, allocations: 336.5 kB / 0.7938 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.322, allocations: 38.56 kB / 0.7939 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3221, allocations: 0 / 0.7939 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.3222, allocations: 37.64 kB / 0.7939 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3222, allocations: 51.41 kB / 0.794 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.3223, allocations: 105.9 kB / 0.7941 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3224, allocations: 33.7 kB / 0.7941 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.3224, allocations: 80.14 kB / 0.7942 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.3224, allocations: 3.953 kB / 0.7942 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.3225, allocations: 21.7 kB / 0.7942 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3226, allocations: 314.8 kB / 0.7945 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.3226, allocations: 4 kB / 0.7945 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.3227, allocations: 17.72 kB / 0.7945 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.3227, allocations: 25.64 kB / 0.7945 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3227, allocations: 4 kB / 0.7945 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.521e-05/0.3228, allocations: 45.64 kB / 0.7946 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3228, allocations: 7.984 kB / 0.7946 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3228, allocations: 0 / 0.7946 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3228, allocations: 4 kB / 0.7946 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.3229, allocations: 4 kB / 0.7946 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3229, allocations: 4.062 kB / 0.7946 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.3229, allocations: 7.875 kB / 0.7946 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3229, allocations: 4 kB / 0.7946 GB, free: 2.41 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.723e-05/0.323, allocations: 109.8 kB / 0.7947 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.323, allocations: 7.953 kB / 0.7947 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3232, allocations: 120.8 kB / 0.7948 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-05/0.3232, allocations: 180.3 kB / 0.795 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.23e-05/0.3233, allocations: 184.2 kB / 0.7952 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.531e-05/0.3234, allocations: 188.1 kB / 0.7954 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3237, allocations: 401.2 kB / 0.7957 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-05/0.3237, allocations: 112.9 kB / 0.7959 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.3238, allocations: 105 kB / 0.796 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.642e-05/0.3239, allocations: 184.3 kB / 0.7961 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.324, allocations: 180.2 kB / 0.7963 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000131/0.3241, allocations: 176.3 kB / 0.7965 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.497e-05/0.3242, allocations: 184.4 kB / 0.7966 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3244, allocations: 312 kB / 0.7969 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.3244, allocations: 186 kB / 0.7971 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.3245, allocations: 180.2 kB / 0.7973 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3247, allocations: 108.9 kB / 0.7974 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.3248, allocations: 180.3 kB / 0.7976 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.3249, allocations: 104.9 kB / 0.7977 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.325, allocations: 95.27 kB / 0.7978 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 3.938 kB / 0.7978 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003228/0.3253, allocations: 59.73 kB / 0.7978 GB, free: 14.9 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.0006851/0.326, allocations: 0.8789 MB / 0.7987 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.3261, allocations: 15.94 kB / 0.7987 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3261, allocations: 0 / 0.7987 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3261, allocations: 0 / 0.7987 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.3265, allocations: 469.3 kB / 0.7991 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3276, allocations: 1.344 MB / 0.8005 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3279, allocations: 0.6768 MB / 0.8011 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.3279, allocations: 10.19 kB / 0.8011 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.328, allocations: 15.38 kB / 0.8011 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.328, allocations: 0 / 0.8011 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/0.5097, allocations: 2.193 MB / 0.8033 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.286, allocations: 2.531 kB / 0.8033 GB, free: 9.277 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)