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.001455/0.001455, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002068/0.002069, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.538/2.538, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.256/1.256, allocations: 132.2 MB / 423.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006001/0.0006002, allocations: 8 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.034, allocations: 81.58 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2717/1.306, allocations: 114.3 MB / 0.6946 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008188/1.306, allocations: 499 kB / 0.6951 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/1.307, allocations: 0 / 0.6951 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/1.307, allocations: 3.938 kB / 0.6951 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/1.307, allocations: 11.97 kB / 0.6951 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/1.308, allocations: 194.4 kB / 0.6953 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.837e-05/1.308, allocations: 27.89 kB / 0.6953 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/1.308, allocations: 0 / 0.6953 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/1.308, allocations: 8 kB / 0.6953 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/1.308, allocations: 7.984 kB / 0.6953 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/1.308, allocations: 4 kB / 0.6953 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/1.309, allocations: 191.6 kB / 0.6955 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/1.309, allocations: 7.984 kB / 0.6955 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/1.309, allocations: 25.7 kB / 0.6955 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/1.309, allocations: 98.09 kB / 0.6956 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.309, allocations: 8 kB / 0.6956 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.715e-06/1.309, allocations: 0 / 0.6956 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.078e-05/1.309, allocations: 0 / 0.6956 GB, free: 12.96 MB / 0.5294 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.0007038/1.31, allocations: 347.3 kB / 0.6959 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/1.31, allocations: 12.03 kB / 0.696 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/1.31, allocations: 30.56 kB / 0.696 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/1.31, allocations: 11.95 kB / 0.696 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/1.31, allocations: 167 kB / 0.6962 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/1.31, allocations: 29.7 kB / 0.6962 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/1.31, allocations: 3.984 kB / 0.6962 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/1.311, allocations: 37.69 kB / 0.6962 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.311, allocations: 0 / 0.6962 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/1.311, allocations: 0 / 0.6962 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/1.311, allocations: 15.94 kB / 0.6962 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-05/1.311, allocations: 15.98 kB / 0.6963 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/1.312, allocations: 0.5911 MB / 0.6968 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.849e-05/1.312, allocations: 18.52 kB / 0.6969 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/1.312, allocations: 336.5 kB / 0.6972 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/1.313, allocations: 34.56 kB / 0.6972 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.313, allocations: 0 / 0.6972 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002179/1.313, allocations: 37.66 kB / 0.6972 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/1.313, allocations: 55.34 kB / 0.6973 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/1.313, allocations: 109.8 kB / 0.6974 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.313, allocations: 25.7 kB / 0.6974 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/1.313, allocations: 80.14 kB / 0.6975 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/1.313, allocations: 15.97 kB / 0.6975 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.313, allocations: 0 / 0.6975 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.313, allocations: 310.8 kB / 0.6978 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/1.313, allocations: 7.984 kB / 0.6978 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/1.313, allocations: 13.72 kB / 0.6978 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/1.313, allocations: 4 kB / 0.6978 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.313, allocations: 0 / 0.6978 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.247e-05/1.314, allocations: 57.62 kB / 0.6979 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.314, allocations: 4 kB / 0.6979 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.314, allocations: 0 / 0.6979 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.314, allocations: 0 / 0.6979 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/1.314, allocations: 8 kB / 0.6979 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.314, allocations: 7.938 kB / 0.6979 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/1.314, allocations: 3.938 kB / 0.6979 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/1.314, allocations: 4 kB / 0.6979 GB, free: 10.22 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.314, allocations: 115.6 kB / 0.698 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/1.314, allocations: 0 / 0.698 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/1.314, allocations: 124.8 kB / 0.6981 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/1.314, allocations: 176.3 kB / 0.6983 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/1.314, allocations: 188.2 kB / 0.6985 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/1.314, allocations: 180.2 kB / 0.6987 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/1.315, allocations: 405.2 kB / 0.6991 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-05/1.315, allocations: 108.9 kB / 0.6992 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/1.315, allocations: 101 kB / 0.6993 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/1.315, allocations: 188.1 kB / 0.6994 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/1.315, allocations: 180.3 kB / 0.6996 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001164/1.315, allocations: 180.3 kB / 0.6998 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001165/1.315, allocations: 184.2 kB / 0.7 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/1.316, allocations: 311.7 kB / 0.7002 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/1.316, allocations: 182.1 kB / 0.7004 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.316, allocations: 184.5 kB / 0.7006 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/1.316, allocations: 113 kB / 0.7007 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.316, allocations: 176.3 kB / 0.7009 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/1.316, allocations: 108.9 kB / 0.701 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000118/1.317, allocations: 91.27 kB / 0.7011 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.317, allocations: 0 / 0.7011 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004267/1.317, allocations: 47.94 kB / 0.7011 GB, free: 6.73 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008541/1.318, allocations: 0.8867 MB / 0.702 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.609e-05/1.318, allocations: 19.92 kB / 0.702 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.318, allocations: 0 / 0.702 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.318, allocations: 336 / 0.702 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/1.318, allocations: 0.5185 MB / 0.7025 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/1.319, allocations: 253.5 kB / 0.7027 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/1.319, allocations: 0.677 MB / 0.7034 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.694e-05/1.32, allocations: 11.66 kB / 0.7034 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/1.32, allocations: 11.44 kB / 0.7034 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/1.32, allocations: 0 / 0.7034 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/1.338, allocations: 1.923 MB / 0.7053 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003641/1.338, allocations: 178.8 kB / 0.7055 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.452, allocations: 8.062 kB / 0.7055 GB, free: 2.242 MB / 0.5294 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/linux/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) Environment - environmentSimulation: