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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001262/0.001262, allocations: 110.2 kB / 15.99 MB, free: 6.359 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.001328/0.001329, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7693/0.7693, allocations: 132.2 MB / 422.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.91 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3571, allocations: 80.2 MB / 0.5802 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1315/0.4886, allocations: 133.5 MB / 0.7106 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.4888, allocations: 51.73 kB / 0.7106 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.4889, allocations: 3.938 kB / 0.7106 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.489, allocations: 0 / 0.7106 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.4891, allocations: 15.91 kB / 0.7106 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.4899, allocations: 231.2 kB / 0.7109 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.49, allocations: 35.84 kB / 0.7109 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.4901, allocations: 0 / 0.7109 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.4901, allocations: 15.98 kB / 0.7109 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.4902, allocations: 23.86 kB / 0.7109 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.4902, allocations: 0 / 0.7109 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.4906, allocations: 251.4 kB / 0.7112 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.4907, allocations: 8 kB / 0.7112 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.4907, allocations: 7.938 kB / 0.7112 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.491, allocations: 129.8 kB / 0.7113 GB, free: 7.758 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.491, allocations: 4 kB / 0.7113 GB, free: 7.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.491, allocations: 0 / 0.7113 GB, free: 7.754 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.491, allocations: 0 / 0.7113 GB, free: 7.754 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.0004123/0.4914, allocations: 363.4 kB / 0.7117 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.4914, allocations: 8.031 kB / 0.7117 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.4915, allocations: 4.938 kB / 0.7117 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.4916, allocations: 168.3 kB / 0.7118 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.4917, allocations: 26.27 kB / 0.7119 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4917, allocations: 7.938 kB / 0.7119 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.4918, allocations: 49.62 kB / 0.7119 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4919, allocations: 0 / 0.7119 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4919, allocations: 3.984 kB / 0.7119 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.4919, allocations: 11.98 kB / 0.7119 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.492, allocations: 11.98 kB / 0.7119 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/0.4927, allocations: 0.5989 MB / 0.7125 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.864e-05/0.4928, allocations: 22.52 kB / 0.7126 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.4928, allocations: 4.859 kB / 0.7126 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.493, allocations: 336.5 kB / 0.7129 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.493, allocations: 34.56 kB / 0.7129 GB, free: 5.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.493, allocations: 0 / 0.7129 GB, free: 5.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.4932, allocations: 41.59 kB / 0.7129 GB, free: 5.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.4932, allocations: 55.34 kB / 0.713 GB, free: 5.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.4933, allocations: 105.8 kB / 0.7131 GB, free: 5.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4933, allocations: 25.7 kB / 0.7131 GB, free: 5.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.4934, allocations: 88.17 kB / 0.7132 GB, free: 5.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.4934, allocations: 7.938 kB / 0.7132 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.4934, allocations: 17.72 kB / 0.7132 GB, free: 5.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4935, allocations: 318.8 kB / 0.7135 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.4936, allocations: 0 / 0.7135 GB, free: 5.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.4936, allocations: 13.72 kB / 0.7136 GB, free: 5.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.4936, allocations: 25.72 kB / 0.7136 GB, free: 5.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4936, allocations: 0 / 0.7136 GB, free: 5.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.175e-05/0.4937, allocations: 49.62 kB / 0.7136 GB, free: 5.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4937, allocations: 8 kB / 0.7136 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4937, allocations: 0 / 0.7136 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4938, allocations: 0 / 0.7136 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.4938, allocations: 7.984 kB / 0.7136 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.4938, allocations: 0 / 0.7136 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.4938, allocations: 7.906 kB / 0.7136 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4939, allocations: 3.938 kB / 0.7137 GB, free: 4.977 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.761e-05/0.4939, allocations: 121.8 kB / 0.7138 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.494, allocations: 0 / 0.7138 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.4941, allocations: 117 kB / 0.7139 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.4941, allocations: 180.2 kB / 0.7141 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-05/0.4942, allocations: 176.3 kB / 0.7142 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.098e-05/0.4943, allocations: 188.3 kB / 0.7144 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.4945, allocations: 409 kB / 0.7148 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/0.4946, allocations: 108.9 kB / 0.7149 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.4946, allocations: 112.9 kB / 0.715 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-05/0.4947, allocations: 176.3 kB / 0.7152 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.4947, allocations: 180.3 kB / 0.7153 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.185e-05/0.4948, allocations: 184.2 kB / 0.7155 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.724e-05/0.4948, allocations: 176.3 kB / 0.7157 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.495, allocations: 315.7 kB / 0.716 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.4951, allocations: 178.1 kB / 0.7162 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.4951, allocations: 188.2 kB / 0.7163 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.4953, allocations: 109 kB / 0.7164 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.4954, allocations: 188.2 kB / 0.7166 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.4954, allocations: 101 kB / 0.7167 GB, free: 1.621 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.4955, allocations: 87.2 kB / 0.7168 GB, free: 1.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4955, allocations: 0 / 0.7168 GB, free: 1.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002905/0.4958, allocations: 63.94 kB / 0.7169 GB, free: 1.473 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.0003055/0.4961, allocations: 250.7 kB / 0.7171 GB, free: 1.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.874e-05/0.4961, allocations: 19.98 kB / 0.7171 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4962, allocations: 0 / 0.7171 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.4962, allocations: 0 / 0.7171 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4966, allocations: 455.7 kB / 0.7176 GB, free: 0.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.4968, allocations: 215.5 kB / 0.7178 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.4971, allocations: 0.6729 MB / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.4971, allocations: 7.438 kB / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.813e-06/0.4971, allocations: 0 / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.002693/0.4998, allocations: 1.241 MB / 0.7196 GB, free: 14.56 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)