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.001147/0.001148, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001091/0.001092, allocations: 196 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8132/0.8132, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 60.05 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3558, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.156/0.5119, allocations: 135.4 MB / 0.718 GB, free: 2.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000164/0.5121, allocations: 59.86 kB / 0.7181 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.5121, allocations: 0 / 0.7181 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.428e-05/0.5122, allocations: 3.938 kB / 0.7181 GB, free: 2.598 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.028e-05/0.5124, allocations: 15.91 kB / 0.7181 GB, free: 2.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.5132, allocations: 235 kB / 0.7183 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.512e-05/0.5133, allocations: 27.92 kB / 0.7183 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.5133, allocations: 11.92 kB / 0.7183 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.297e-05/0.5134, allocations: 15.81 kB / 0.7184 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.5134, allocations: 15.98 kB / 0.7184 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.5134, allocations: 0 / 0.7184 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.5139, allocations: 247.3 kB / 0.7186 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.5139, allocations: 4 kB / 0.7186 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.514, allocations: 19.91 kB / 0.7186 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.5143, allocations: 189.4 kB / 0.7188 GB, free: 1.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5143, allocations: 0 / 0.7188 GB, free: 1.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5143, allocations: 0 / 0.7188 GB, free: 1.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5144, allocations: 3.938 kB / 0.7188 GB, free: 1.836 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.0003853/0.5148, allocations: 361.5 kB / 0.7192 GB, free: 1.438 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.5148, allocations: 13.11 kB / 0.7192 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.5148, allocations: 0.9375 kB / 0.7192 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.5149, allocations: 164.4 kB / 0.7193 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.515, allocations: 30.27 kB / 0.7194 GB, free: 1.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.515, allocations: 7.938 kB / 0.7194 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5152, allocations: 49.67 kB / 0.7194 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5152, allocations: 0 / 0.7194 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5152, allocations: 3.984 kB / 0.7194 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.5152, allocations: 0 / 0.7194 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.5153, allocations: 19.92 kB / 0.7194 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.516, allocations: 0.6028 MB / 0.72 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.289e-05/0.516, allocations: 14.58 kB / 0.72 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.516, allocations: 4.859 kB / 0.72 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.5162, allocations: 336.5 kB / 0.7204 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5163, allocations: 42.48 kB / 0.7204 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.5163, allocations: 0 / 0.7204 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.5164, allocations: 41.67 kB / 0.7204 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.5165, allocations: 55.41 kB / 0.7205 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.5165, allocations: 105.8 kB / 0.7206 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.5165, allocations: 25.7 kB / 0.7206 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.5166, allocations: 80.14 kB / 0.7207 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.5166, allocations: 7.844 kB / 0.7207 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.5166, allocations: 17.72 kB / 0.7207 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.5167, allocations: 318.8 kB / 0.721 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.5168, allocations: 8 kB / 0.721 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.5168, allocations: 17.72 kB / 0.7211 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.5168, allocations: 21.66 kB / 0.7211 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5168, allocations: 3.984 kB / 0.7211 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.108e-05/0.5169, allocations: 41.7 kB / 0.7211 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5169, allocations: 4 kB / 0.7211 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5169, allocations: 4.062 kB / 0.7211 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.517, allocations: 4 kB / 0.7211 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.517, allocations: 11.92 kB / 0.7211 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.517, allocations: 0 / 0.7211 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.517, allocations: 3.938 kB / 0.7211 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.5171, allocations: 7.938 kB / 0.7211 GB, free: 15.06 MB / 0.5606 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.921e-05/0.5171, allocations: 109.8 kB / 0.7213 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.5172, allocations: 7.906 kB / 0.7213 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.53e-05/0.5173, allocations: 117 kB / 0.7214 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/0.5173, allocations: 184.2 kB / 0.7215 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-05/0.5174, allocations: 180.3 kB / 0.7217 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/0.5175, allocations: 180.2 kB / 0.7219 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.5177, allocations: 405.2 kB / 0.7223 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/0.5177, allocations: 109 kB / 0.7224 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.5178, allocations: 108.9 kB / 0.7225 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.5178, allocations: 180.3 kB / 0.7227 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.5179, allocations: 180.2 kB / 0.7228 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-05/0.5179, allocations: 176.3 kB / 0.723 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-05/0.518, allocations: 180.3 kB / 0.7232 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.5182, allocations: 315.7 kB / 0.7235 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.5182, allocations: 190 kB / 0.7237 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.5183, allocations: 176.3 kB / 0.7238 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5184, allocations: 109.2 kB / 0.7239 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.5185, allocations: 192.2 kB / 0.7241 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.5186, allocations: 105 kB / 0.7242 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.5186, allocations: 91.2 kB / 0.7243 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5186, allocations: 0 / 0.7243 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002951/0.5189, allocations: 55.94 kB / 0.7243 GB, free: 11.56 MB / 0.5606 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.0002902/0.5192, allocations: 250.7 kB / 0.7246 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.5193, allocations: 19.92 kB / 0.7246 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5193, allocations: 0 / 0.7246 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.5193, allocations: 0 / 0.7246 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.5197, allocations: 463.3 kB / 0.725 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.5199, allocations: 185.8 kB / 0.7252 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.5202, allocations: 0.6729 MB / 0.7259 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.5202, allocations: 11.92 kB / 0.7259 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.5202, allocations: 11.44 kB / 0.7259 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5202, allocations: 0 / 0.7259 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of Templates: time 0.003409/0.5236, allocations: 1.278 MB / 0.7272 GB, free: 8.629 MB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)