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.008942/0.008942, allocations: 102.7 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.001844/0.001844, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8091/0.8091, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.67 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4699/0.6138, allocations: 135.4 MB / 0.7914 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.6141, allocations: 52.05 kB / 0.7915 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.6141, allocations: 0 / 0.7915 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.6143, allocations: 6.969 kB / 0.7915 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.628e-05/0.6144, allocations: 13.53 kB / 0.7915 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.6154, allocations: 244.2 kB / 0.7917 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6155, allocations: 37.31 kB / 0.7917 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.6156, allocations: 2.375 kB / 0.7917 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.6157, allocations: 14.5 kB / 0.7918 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.6157, allocations: 17.23 kB / 0.7918 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.6158, allocations: 1.188 kB / 0.7918 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.6164, allocations: 247.5 kB / 0.792 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.6165, allocations: 8.188 kB / 0.792 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.6165, allocations: 9.812 kB / 0.792 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.6169, allocations: 197.2 kB / 0.7922 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.617, allocations: 1.062 kB / 0.7922 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.617, allocations: 0 / 0.7922 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.617, allocations: 0 / 0.7922 GB, free: 12.91 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.0004495/0.6174, allocations: 358.4 kB / 0.7926 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6175, allocations: 9.969 kB / 0.7926 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.6175, allocations: 31.78 kB / 0.7926 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.6176, allocations: 6.688 kB / 0.7926 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6177, allocations: 163.4 kB / 0.7928 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.6178, allocations: 28.58 kB / 0.7928 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.6178, allocations: 8.25 kB / 0.7928 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.6179, allocations: 50.27 kB / 0.7928 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6179, allocations: 0 / 0.7928 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.618, allocations: 6.109 kB / 0.7929 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.618, allocations: 2.281 kB / 0.7929 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.618, allocations: 18.09 kB / 0.7929 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.6188, allocations: 0.5999 MB / 0.7935 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.6189, allocations: 18.8 kB / 0.7935 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.6189, allocations: 10.05 kB / 0.7935 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.6191, allocations: 335.8 kB / 0.7938 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.6192, allocations: 35.34 kB / 0.7938 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6192, allocations: 0 / 0.7938 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.6193, allocations: 34.86 kB / 0.7939 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.6194, allocations: 51.41 kB / 0.7939 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.6194, allocations: 104.2 kB / 0.794 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6195, allocations: 26.89 kB / 0.794 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.6195, allocations: 94.05 kB / 0.7941 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-06/0.6195, allocations: 7.844 kB / 0.7941 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.6196, allocations: 15.81 kB / 0.7942 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.6197, allocations: 319.7 kB / 0.7945 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.6197, allocations: 2.625 kB / 0.7945 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.6197, allocations: 19.19 kB / 0.7945 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.6198, allocations: 25.69 kB / 0.7945 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6198, allocations: 0 / 0.7945 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.339e-05/0.6199, allocations: 48.92 kB / 0.7946 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6199, allocations: 6.469 kB / 0.7946 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.6199, allocations: 2.281 kB / 0.7946 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6199, allocations: 1.031 kB / 0.7946 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.62, allocations: 6.781 kB / 0.7946 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.62, allocations: 1.469 kB / 0.7946 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.62, allocations: 4.062 kB / 0.7946 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.62, allocations: 8.969 kB / 0.7946 GB, free: 10.4 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 7.155e-05/0.6201, allocations: 110.6 kB / 0.7947 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.6201, allocations: 1.062 kB / 0.7947 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.6203, allocations: 123.2 kB / 0.7948 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/0.6203, allocations: 177.3 kB / 0.795 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.559e-05/0.6204, allocations: 189.3 kB / 0.7952 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-05/0.6204, allocations: 180.2 kB / 0.7953 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.6207, allocations: 406.3 kB / 0.7957 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.6207, allocations: 107.7 kB / 0.7958 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.6207, allocations: 101 kB / 0.7959 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.583e-05/0.6208, allocations: 185.4 kB / 0.7961 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.6209, allocations: 191.4 kB / 0.7963 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.995e-05/0.6209, allocations: 177.4 kB / 0.7964 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.722e-05/0.621, allocations: 181.4 kB / 0.7966 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.6211, allocations: 314 kB / 0.7969 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.6212, allocations: 189.1 kB / 0.7971 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.6213, allocations: 177.6 kB / 0.7973 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.6214, allocations: 110.9 kB / 0.7974 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.6215, allocations: 184.8 kB / 0.7976 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.6215, allocations: 110.4 kB / 0.7977 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.6216, allocations: 90.2 kB / 0.7977 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6216, allocations: 0 / 0.7977 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003467/0.622, allocations: 55.91 kB / 0.7978 GB, free: 7.012 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.000582/0.6225, allocations: 0.8783 MB / 0.7987 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.781e-05/0.6226, allocations: 12.38 kB / 0.7987 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6226, allocations: 1.125 kB / 0.7987 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.6227, allocations: 0 / 0.7987 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.623, allocations: 466 kB / 0.7991 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.6241, allocations: 1.335 MB / 0.8004 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.6243, allocations: 0.6749 MB / 0.8011 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.283e-05/0.6244, allocations: 10.34 kB / 0.8011 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.6244, allocations: 12.62 kB / 0.8011 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.6244, allocations: 3.938 kB / 0.8011 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.6569, allocations: 2.204 MB / 0.8033 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/8.084, allocations: 9 kB / 0.8033 GB, free: 3.234 MB / 0.5919 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)