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.0007575/0.0007575, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.00454/0.00454, allocations: 171.9 kB / 16.26 MB, free: 6.676 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6883/0.6883, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 9.062 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3567, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.131/0.4877, allocations: 131.6 MB / 0.7122 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001265/0.4879, allocations: 51.86 kB / 0.7123 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.4879, allocations: 0 / 0.7123 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.945e-05/0.488, allocations: 3.938 kB / 0.7123 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.4881, allocations: 11.98 kB / 0.7123 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.4889, allocations: 228.7 kB / 0.7125 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.489, allocations: 63.8 kB / 0.7126 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.645e-05/0.489, allocations: 0 / 0.7126 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.4891, allocations: 12 kB / 0.7126 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.4891, allocations: 15.91 kB / 0.7126 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.4892, allocations: 8 kB / 0.7126 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.4896, allocations: 239.3 kB / 0.7129 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.4896, allocations: 11.98 kB / 0.7129 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.4897, allocations: 33.64 kB / 0.7129 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.49, allocations: 197.9 kB / 0.7131 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.49, allocations: 0 / 0.7131 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.49, allocations: 0 / 0.7131 GB, free: 11.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.49, allocations: 0 / 0.7131 GB, free: 11.54 MB / 0.545 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.0003329/0.4903, allocations: 359.4 kB / 0.7134 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.4904, allocations: 12.03 kB / 0.7134 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.4904, allocations: 34.75 kB / 0.7135 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.4904, allocations: 0.9375 kB / 0.7135 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.186e-05/0.4905, allocations: 164.3 kB / 0.7136 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.4906, allocations: 34.02 kB / 0.7137 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-06/0.4906, allocations: 0 / 0.7137 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.4907, allocations: 45.67 kB / 0.7137 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.4908, allocations: 4 kB / 0.7137 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.4908, allocations: 3.984 kB / 0.7137 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.4908, allocations: 4 kB / 0.7137 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.97e-05/0.4908, allocations: 15.98 kB / 0.7137 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.4915, allocations: 0.5989 MB / 0.7143 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.4915, allocations: 26.52 kB / 0.7143 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.4915, allocations: 8.859 kB / 0.7144 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.4917, allocations: 332.5 kB / 0.7147 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.4917, allocations: 34.56 kB / 0.7147 GB, free: 9.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4918, allocations: 0 / 0.7147 GB, free: 9.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.4919, allocations: 45.53 kB / 0.7147 GB, free: 9.504 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.4919, allocations: 51.41 kB / 0.7148 GB, free: 9.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.492, allocations: 101.9 kB / 0.7149 GB, free: 9.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.492, allocations: 25.83 kB / 0.7149 GB, free: 9.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.492, allocations: 88.12 kB / 0.715 GB, free: 9.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-06/0.4921, allocations: 11.84 kB / 0.715 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.4921, allocations: 13.66 kB / 0.715 GB, free: 9.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.4922, allocations: 318.8 kB / 0.7153 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.4922, allocations: 4 kB / 0.7153 GB, free: 8.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.4922, allocations: 17.7 kB / 0.7153 GB, free: 8.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.4923, allocations: 25.66 kB / 0.7154 GB, free: 8.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4923, allocations: 3.938 kB / 0.7154 GB, free: 8.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.956e-05/0.4923, allocations: 49.69 kB / 0.7154 GB, free: 8.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4924, allocations: 4 kB / 0.7154 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.4924, allocations: 0 / 0.7154 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.4924, allocations: 0 / 0.7154 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.748e-05/0.4924, allocations: 4 kB / 0.7154 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4924, allocations: 4 kB / 0.7154 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.4925, allocations: 7.875 kB / 0.7154 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.4925, allocations: 4.062 kB / 0.7154 GB, free: 8.719 MB / 0.545 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 6.057e-05/0.4925, allocations: 113.8 kB / 0.7156 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.4926, allocations: 3.906 kB / 0.7156 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.131e-05/0.4927, allocations: 117 kB / 0.7157 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/0.4927, allocations: 180.2 kB / 0.7158 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-05/0.4928, allocations: 188.2 kB / 0.716 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/0.4928, allocations: 180.2 kB / 0.7162 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.493, allocations: 413.1 kB / 0.7166 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/0.493, allocations: 101 kB / 0.7167 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.4931, allocations: 104.9 kB / 0.7168 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.462e-05/0.4931, allocations: 176.3 kB / 0.717 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.4932, allocations: 188.3 kB / 0.7171 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.818e-05/0.4933, allocations: 184.2 kB / 0.7173 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.098e-05/0.4933, allocations: 176.3 kB / 0.7175 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.4934, allocations: 307.7 kB / 0.7178 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.4935, allocations: 194.1 kB / 0.718 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.4936, allocations: 180.2 kB / 0.7181 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.4937, allocations: 109 kB / 0.7182 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.4938, allocations: 180.2 kB / 0.7184 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.4938, allocations: 108.9 kB / 0.7185 GB, free: 5.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.4939, allocations: 87.28 kB / 0.7186 GB, free: 5.281 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4939, allocations: 4 kB / 0.7186 GB, free: 5.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002887/0.4942, allocations: 59.92 kB / 0.7187 GB, free: 5.219 MB / 0.545 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.00049/0.4947, allocations: 0.8869 MB / 0.7195 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.942e-05/0.4947, allocations: 11.98 kB / 0.7195 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4947, allocations: 0 / 0.7195 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.4948, allocations: 0 / 0.7195 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4951, allocations: 0.5341 MB / 0.72 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.496, allocations: 1.342 MB / 0.7214 GB, free: 2.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.4962, allocations: 0.677 MB / 0.722 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.4962, allocations: 8 kB / 0.722 GB, free: 1.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.4963, allocations: 7.438 kB / 0.722 GB, free: 1.609 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4963, allocations: 0 / 0.722 GB, free: 1.609 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5603/1.057, allocations: 1.998 MB / 0.724 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003575/1.057, allocations: 195 kB / 0.7242 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.865, allocations: 3.938 kB / 0.7242 GB, free: 15.5 MB / 0.5606 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)