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.001326/0.001326, allocations: 114.4 kB / 16.42 MB, free: 6.02 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.001158/0.001158, allocations: 183.8 kB / 17.35 MB, free: 5.625 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7892/0.7892, allocations: 132.2 MB / 423.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 70.05 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4508/0.5857, allocations: 135.4 MB / 0.7926 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.586, allocations: 56.66 kB / 0.7926 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.586, allocations: 0 / 0.7926 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.5862, allocations: 5.031 kB / 0.7926 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.5863, allocations: 11.5 kB / 0.7926 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/0.5873, allocations: 256.3 kB / 0.7929 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.5874, allocations: 33.12 kB / 0.7929 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.5874, allocations: 3.859 kB / 0.7929 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.5875, allocations: 15.75 kB / 0.7929 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.5876, allocations: 11.33 kB / 0.7929 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.5876, allocations: 1.062 kB / 0.7929 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.5881, allocations: 246.6 kB / 0.7932 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.5881, allocations: 10.05 kB / 0.7932 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.5881, allocations: 8.219 kB / 0.7932 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.5885, allocations: 196.8 kB / 0.7934 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.5885, allocations: 1.094 kB / 0.7934 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5886, allocations: 0 / 0.7934 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.5886, allocations: 0 / 0.7934 GB, free: 13.18 MB / 0.5919 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.0003719/0.5889, allocations: 362 kB / 0.7937 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.589, allocations: 9.469 kB / 0.7937 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.589, allocations: 4.453 kB / 0.7937 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.5891, allocations: 161.4 kB / 0.7939 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/0.5892, allocations: 36.11 kB / 0.7939 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.5892, allocations: 5 kB / 0.7939 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.5893, allocations: 49.81 kB / 0.794 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-06/0.5893, allocations: 0 / 0.794 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.5894, allocations: 1.406 kB / 0.794 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5894, allocations: 1.25 kB / 0.794 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.5894, allocations: 16.72 kB / 0.794 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.5901, allocations: 0.6028 MB / 0.7946 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.5902, allocations: 18.97 kB / 0.7946 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.5902, allocations: 5.859 kB / 0.7946 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.5904, allocations: 336.2 kB / 0.7949 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5904, allocations: 36.28 kB / 0.795 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.5904, allocations: 0 / 0.795 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.5906, allocations: 37.62 kB / 0.795 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.5906, allocations: 52.75 kB / 0.7951 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.5907, allocations: 105.7 kB / 0.7952 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.5907, allocations: 25.7 kB / 0.7952 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.5907, allocations: 90.23 kB / 0.7953 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-06/0.5907, allocations: 5.109 kB / 0.7953 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.5908, allocations: 15.77 kB / 0.7953 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.5909, allocations: 319.5 kB / 0.7956 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.5909, allocations: 7.281 kB / 0.7956 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.5909, allocations: 20.39 kB / 0.7956 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.591, allocations: 21.34 kB / 0.7956 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.591, allocations: 0 / 0.7956 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.619e-05/0.5911, allocations: 49.52 kB / 0.7957 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5911, allocations: 9.188 kB / 0.7957 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.5911, allocations: 0 / 0.7957 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.5911, allocations: 0.9688 kB / 0.7957 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.913e-05/0.5911, allocations: 7.703 kB / 0.7957 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.5912, allocations: 1.094 kB / 0.7957 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.5912, allocations: 5.344 kB / 0.7957 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5912, allocations: 1.969 kB / 0.7957 GB, free: 10.7 MB / 0.5919 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.029e-05/0.5913, allocations: 118.4 kB / 0.7958 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.5913, allocations: 5.109 kB / 0.7958 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.987e-05/0.5914, allocations: 130.3 kB / 0.796 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.794e-05/0.5915, allocations: 179.3 kB / 0.7961 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-05/0.5915, allocations: 110.1 kB / 0.7962 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.5916, allocations: 180.9 kB / 0.7964 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.5917, allocations: 181.1 kB / 0.7966 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5918, allocations: 114.8 kB / 0.7967 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.5919, allocations: 183.2 kB / 0.7969 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.263e-05/0.592, allocations: 256.8 kB / 0.7971 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001488/0.5921, allocations: 377.1 kB / 0.7975 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.124e-05/0.5922, allocations: 110 kB / 0.7976 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.5922, allocations: 89.53 kB / 0.7977 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of Backend: time 4.7e-07/0.5922, allocations: 0 / 0.7977 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.5928, allocations: 169.4 kB / 0.7978 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0004645/0.5932, allocations: 0.8605 MB / 0.7987 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of Templates: time 0.003201/0.5965, allocations: 1.191 MB / 0.7998 GB, free: 7.527 MB / 0.5919 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)