Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.0007821/0.000782, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.005411/0.005411, allocations: 171.5 kB / 16.26 MB, free: 6.68 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.972/0.972, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 82.32 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4009/0.5635, allocations: 131.6 MB / 0.7166 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001505/0.5637, allocations: 60.61 kB / 0.7166 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.5637, allocations: 0 / 0.7166 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.5638, allocations: 1.406 kB / 0.7166 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.5639, allocations: 13.84 kB / 0.7166 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.5648, allocations: 228.2 kB / 0.7168 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.5649, allocations: 54 kB / 0.7169 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.5649, allocations: 5.875 kB / 0.7169 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.565, allocations: 19.92 kB / 0.7169 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.5651, allocations: 9.203 kB / 0.7169 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.5651, allocations: 1.531 kB / 0.7169 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005/0.5656, allocations: 245.3 kB / 0.7172 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.5656, allocations: 12.97 kB / 0.7172 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.5657, allocations: 35.72 kB / 0.7172 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.566, allocations: 194.7 kB / 0.7174 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.5661, allocations: 1.125 kB / 0.7174 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5661, allocations: 3.938 kB / 0.7174 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5661, allocations: 0 / 0.7174 GB, free: 11.75 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.0003606/0.5664, allocations: 351.9 kB / 0.7177 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5665, allocations: 11.42 kB / 0.7177 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.5665, allocations: 30.75 kB / 0.7178 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.5665, allocations: 4.375 kB / 0.7178 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5667, allocations: 169.1 kB / 0.7179 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.5667, allocations: 33.28 kB / 0.718 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.5667, allocations: 9.359 kB / 0.718 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.5669, allocations: 49 kB / 0.718 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.5669, allocations: 0 / 0.718 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.5669, allocations: 0 / 0.718 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.5669, allocations: 1.906 kB / 0.718 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.567, allocations: 13.44 kB / 0.718 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.5677, allocations: 0.6022 MB / 0.7186 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.5678, allocations: 17.77 kB / 0.7186 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.5678, allocations: 12.44 kB / 0.7187 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.568, allocations: 334.4 kB / 0.719 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.568, allocations: 32.28 kB / 0.719 GB, free: 9.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.568, allocations: 4 kB / 0.719 GB, free: 9.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.5682, allocations: 38.16 kB / 0.7191 GB, free: 9.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.5682, allocations: 52.2 kB / 0.7191 GB, free: 9.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.5683, allocations: 106.7 kB / 0.7192 GB, free: 9.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.5683, allocations: 26.83 kB / 0.7192 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.5684, allocations: 82.25 kB / 0.7193 GB, free: 9.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.5684, allocations: 8.453 kB / 0.7193 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.5684, allocations: 14.78 kB / 0.7193 GB, free: 9.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5685, allocations: 332.1 kB / 0.7196 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.5685, allocations: 3.359 kB / 0.7196 GB, free: 9.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.5686, allocations: 13.86 kB / 0.7197 GB, free: 9.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.5686, allocations: 22.83 kB / 0.7197 GB, free: 9.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5686, allocations: 0 / 0.7197 GB, free: 9.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.991e-05/0.5687, allocations: 48.98 kB / 0.7197 GB, free: 9.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5687, allocations: 10.27 kB / 0.7197 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5687, allocations: 0 / 0.7197 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.5687, allocations: 2.125 kB / 0.7197 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.5688, allocations: 5.578 kB / 0.7197 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5688, allocations: 0.6562 kB / 0.7197 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.5688, allocations: 1.25 kB / 0.7197 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.5688, allocations: 6.656 kB / 0.7198 GB, free: 9.195 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 7.546e-05/0.5689, allocations: 108.2 kB / 0.7199 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.5689, allocations: 1.219 kB / 0.7199 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.569, allocations: 131.2 kB / 0.72 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-05/0.5691, allocations: 178.1 kB / 0.7202 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.366e-05/0.5692, allocations: 180.9 kB / 0.7203 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.035e-05/0.5692, allocations: 179.1 kB / 0.7205 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.5695, allocations: 415.3 kB / 0.7209 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/0.5695, allocations: 104.2 kB / 0.721 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.5695, allocations: 101.6 kB / 0.7211 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.943e-05/0.5696, allocations: 182.4 kB / 0.7213 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.5697, allocations: 183 kB / 0.7214 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.89e-05/0.5697, allocations: 182.5 kB / 0.7216 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-05/0.5698, allocations: 180.3 kB / 0.7218 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.5699, allocations: 314.5 kB / 0.7221 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.57, allocations: 185.9 kB / 0.7223 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.5701, allocations: 181.9 kB / 0.7224 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.5703, allocations: 113.6 kB / 0.7225 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.5703, allocations: 178.3 kB / 0.7227 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.5704, allocations: 107.2 kB / 0.7228 GB, free: 5.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.5704, allocations: 90.84 kB / 0.7229 GB, free: 5.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5704, allocations: 0 / 0.7229 GB, free: 5.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003285/0.5708, allocations: 56.8 kB / 0.723 GB, free: 5.801 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.000562/0.5713, allocations: 0.8825 MB / 0.7238 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.5714, allocations: 15.55 kB / 0.7238 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5714, allocations: 0 / 0.7238 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.5714, allocations: 1.125 kB / 0.7238 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.5718, allocations: 0.5273 MB / 0.7243 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.5729, allocations: 1.36 MB / 0.7257 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.5731, allocations: 0.6788 MB / 0.7263 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.5731, allocations: 5.016 kB / 0.7263 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.5732, allocations: 14.44 kB / 0.7264 GB, free: 2.379 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.5732, allocations: 0 / 0.7264 GB, free: 2.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.6821, allocations: 1.992 MB / 0.7283 GB, free: 2.141 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.6824, allocations: 207 kB / 0.7285 GB, free: 1.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.577, allocations: 11.03 kB / 0.7285 GB, free: 1.871 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)