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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001404/0.001404, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9159/0.9159, allocations: 135.6 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 62.33 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.17, allocations: 81.01 MB / 0.5845 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3807/0.5508, allocations: 133.5 MB / 0.7148 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001418/0.5509, allocations: 43.92 kB / 0.7149 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.551, allocations: 0 / 0.7149 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.064e-05/0.5511, allocations: 6.828 kB / 0.7149 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.5512, allocations: 16.17 kB / 0.7149 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.552, allocations: 232.5 kB / 0.7151 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.552, allocations: 33.31 kB / 0.7152 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.92e-05/0.5521, allocations: 2.938 kB / 0.7152 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.5521, allocations: 19.23 kB / 0.7152 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.5522, allocations: 9.016 kB / 0.7152 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.5522, allocations: 1.5 kB / 0.7152 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.5527, allocations: 259.9 kB / 0.7154 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.5527, allocations: 9.453 kB / 0.7155 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.5527, allocations: 13.72 kB / 0.7155 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.5531, allocations: 191.2 kB / 0.7157 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5531, allocations: 0 / 0.7157 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5531, allocations: 3.938 kB / 0.7157 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.5531, allocations: 0 / 0.7157 GB, free: 11.12 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.0004357/0.5535, allocations: 357.8 kB / 0.716 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.5536, allocations: 8.875 kB / 0.716 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.5536, allocations: 8.812 kB / 0.716 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.5538, allocations: 167.4 kB / 0.7162 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.5538, allocations: 33.28 kB / 0.7162 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.5539, allocations: 5.062 kB / 0.7162 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.554, allocations: 45.59 kB / 0.7163 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.554, allocations: 0 / 0.7163 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.554, allocations: 0 / 0.7163 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.554, allocations: 4.688 kB / 0.7163 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.5541, allocations: 16.67 kB / 0.7163 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.5549, allocations: 0.6011 MB / 0.7169 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.331e-05/0.555, allocations: 21.67 kB / 0.7169 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.555, allocations: 5.984 kB / 0.7169 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.5552, allocations: 334.2 kB / 0.7172 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5553, allocations: 36.38 kB / 0.7172 GB, free: 9.355 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5553, allocations: 0 / 0.7172 GB, free: 9.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.5554, allocations: 40.75 kB / 0.7173 GB, free: 9.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.5554, allocations: 52.2 kB / 0.7173 GB, free: 9.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.5555, allocations: 106.6 kB / 0.7174 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.5556, allocations: 26.45 kB / 0.7175 GB, free: 9.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.5556, allocations: 86.08 kB / 0.7175 GB, free: 9.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-06/0.5556, allocations: 5.344 kB / 0.7175 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.5557, allocations: 23.08 kB / 0.7176 GB, free: 9.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5558, allocations: 320.3 kB / 0.7179 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.5559, allocations: 3.219 kB / 0.7179 GB, free: 8.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.5559, allocations: 15.75 kB / 0.7179 GB, free: 8.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.788e-05/0.556, allocations: 21.78 kB / 0.7179 GB, free: 8.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.556, allocations: 0 / 0.7179 GB, free: 8.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.956e-05/0.5561, allocations: 53.52 kB / 0.718 GB, free: 8.605 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5561, allocations: 6.734 kB / 0.718 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5561, allocations: 0 / 0.718 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5561, allocations: 1.125 kB / 0.718 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.5562, allocations: 9.844 kB / 0.718 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5562, allocations: 0 / 0.718 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.5562, allocations: 2.188 kB / 0.718 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.5562, allocations: 1.531 kB / 0.718 GB, free: 8.605 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 8.29e-05/0.5563, allocations: 121.5 kB / 0.7181 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.5563, allocations: 10.3 kB / 0.7181 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.5565, allocations: 115.9 kB / 0.7182 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.182e-05/0.5566, allocations: 176.8 kB / 0.7184 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.891e-05/0.5566, allocations: 182.6 kB / 0.7186 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.851e-05/0.5567, allocations: 181 kB / 0.7187 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.557, allocations: 412.2 kB / 0.7191 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.557, allocations: 103.2 kB / 0.7192 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.5571, allocations: 101.6 kB / 0.7193 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.211e-05/0.5572, allocations: 186.6 kB / 0.7195 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.5573, allocations: 177 kB / 0.7197 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.712e-05/0.5573, allocations: 186.6 kB / 0.7198 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.787e-05/0.5574, allocations: 182.6 kB / 0.72 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.5576, allocations: 311.3 kB / 0.7203 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.5577, allocations: 180.9 kB / 0.7205 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.5578, allocations: 182.5 kB / 0.7207 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.558, allocations: 110.9 kB / 0.7208 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.558, allocations: 180.9 kB / 0.7209 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.5581, allocations: 107.2 kB / 0.721 GB, free: 5.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.5582, allocations: 82.55 kB / 0.7211 GB, free: 5.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5582, allocations: 0 / 0.7211 GB, free: 5.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003303/0.5585, allocations: 59.94 kB / 0.7212 GB, free: 5.211 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.0003388/0.5588, allocations: 259.9 kB / 0.7214 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.936e-05/0.5589, allocations: 15.7 kB / 0.7214 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5589, allocations: 1.281 kB / 0.7214 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.5589, allocations: 4.125 kB / 0.7214 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.5594, allocations: 461.4 kB / 0.7219 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.5596, allocations: 176.6 kB / 0.7221 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5599, allocations: 0.6846 MB / 0.7227 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.15e-05/0.56, allocations: 8.859 kB / 0.7227 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.56, allocations: 10.38 kB / 0.7227 GB, free: 3.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.56, allocations: 0 / 0.7227 GB, free: 3.668 MB / 0.545 GB Notification: Performance of Templates: time 0.003915/0.5639, allocations: 1.284 MB / 0.724 GB, free: 3.492 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)