Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 102.2 kB / 16.35 MB, free: 5.895 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.00113/0.00113, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7829/0.7829, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 55.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3721, allocations: 80.19 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00465/0.3768, allocations: 4.011 MB / 0.5854 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001701/0.377, allocations: 174.9 kB / 0.5856 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.377, allocations: 1.156 kB / 0.5856 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.3771, allocations: 1.094 kB / 0.5856 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.3772, allocations: 14.39 kB / 0.5856 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3775, allocations: 81.09 kB / 0.5856 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.3776, allocations: 34.47 kB / 0.5857 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.3777, allocations: 1.156 kB / 0.5857 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.3777, allocations: 17.77 kB / 0.5857 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.3778, allocations: 13.27 kB / 0.5857 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3778, allocations: 2.25 kB / 0.5857 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.378, allocations: 58.53 kB / 0.5858 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.3781, allocations: 10.84 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3781, allocations: 13.34 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3783, allocations: 39.56 kB / 0.5858 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3783, allocations: 0 / 0.5858 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3783, allocations: 0 / 0.5858 GB, free: 24.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3783, allocations: 0.9688 kB / 0.5858 GB, free: 24.16 MB / 446.1 MB 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.0003665/0.3787, allocations: 340.7 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3787, allocations: 12.98 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.3788, allocations: 3.5 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.3788, allocations: 160.4 kB / 0.5863 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.3789, allocations: 28.98 kB / 0.5864 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3789, allocations: 6.625 kB / 0.5864 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.379, allocations: 47.03 kB / 0.5864 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3791, allocations: 1.406 kB / 0.5864 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3791, allocations: 9.203 kB / 0.5864 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3791, allocations: 0.9688 kB / 0.5864 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.3791, allocations: 8.844 kB / 0.5864 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.3795, allocations: 340.3 kB / 0.5867 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.171e-05/0.3795, allocations: 20.7 kB / 0.5868 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.3796, allocations: 10.09 kB / 0.5868 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.3796, allocations: 86.45 kB / 0.5869 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3796, allocations: 36.56 kB / 0.5869 GB, free: 22.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.3797, allocations: 1.188 kB / 0.5869 GB, free: 22.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.3798, allocations: 36.97 kB / 0.5869 GB, free: 22.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.3798, allocations: 51.41 kB / 0.587 GB, free: 22.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.3799, allocations: 109.1 kB / 0.5871 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.3799, allocations: 26.77 kB / 0.5871 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.3799, allocations: 89.25 kB / 0.5872 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-06/0.3799, allocations: 1.125 kB / 0.5872 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.3799, allocations: 18.62 kB / 0.5872 GB, free: 22.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.38, allocations: 316.1 kB / 0.5875 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.38, allocations: 2.469 kB / 0.5875 GB, free: 22.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.38, allocations: 22.86 kB / 0.5875 GB, free: 22.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.3801, allocations: 17.19 kB / 0.5876 GB, free: 22.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3801, allocations: 0.5312 kB / 0.5876 GB, free: 22.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.518e-05/0.3802, allocations: 51.22 kB / 0.5876 GB, free: 22.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3802, allocations: 8.5 kB / 0.5876 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3802, allocations: 0 / 0.5876 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3802, allocations: 2.094 kB / 0.5876 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.117e-05/0.3803, allocations: 5.406 kB / 0.5876 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3803, allocations: 3.984 kB / 0.5876 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.3803, allocations: 6.656 kB / 0.5876 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3803, allocations: 5.078 kB / 0.5876 GB, free: 22.19 MB / 446.1 MB 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 4.414e-05/0.3804, allocations: 122.2 kB / 0.5878 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.3804, allocations: 5.406 kB / 0.5878 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.546e-05/0.3805, allocations: 112.1 kB / 0.5879 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.3805, allocations: 190.9 kB / 0.588 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/0.3805, allocations: 181.3 kB / 0.5882 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.3805, allocations: 178.4 kB / 0.5884 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3807, allocations: 415 kB / 0.5888 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.3807, allocations: 104.9 kB / 0.5889 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.3807, allocations: 101.8 kB / 0.589 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/0.3807, allocations: 181.8 kB / 0.5892 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3808, allocations: 188.4 kB / 0.5893 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-05/0.3808, allocations: 185 kB / 0.5895 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-05/0.3808, allocations: 177.3 kB / 0.5897 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.132e-05/0.3809, allocations: 310.4 kB / 0.59 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.3809, allocations: 183.2 kB / 0.5902 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.381, allocations: 186.4 kB / 0.5903 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3811, allocations: 113.7 kB / 0.5904 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.3812, allocations: 181.4 kB / 0.5906 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3812, allocations: 102 kB / 0.5907 GB, free: 18.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.3812, allocations: 87.59 kB / 0.5908 GB, free: 18.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3812, allocations: 0 / 0.5908 GB, free: 18.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.3815, allocations: 15.73 kB / 0.5908 GB, free: 18.79 MB / 446.1 MB 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.0001851/0.3816, allocations: 195.9 kB / 0.591 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.628e-05/0.3817, allocations: 13.98 kB / 0.591 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3817, allocations: 1.406 kB / 0.591 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.3817, allocations: 0 / 0.591 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3821, allocations: 463.6 kB / 0.5914 GB, free: 18.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.3823, allocations: 187.3 kB / 0.5916 GB, free: 17.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.3824, allocations: 0.6727 MB / 0.5923 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.3824, allocations: 9.641 kB / 0.5923 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.3825, allocations: 10.16 kB / 0.5923 GB, free: 17.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3825, allocations: 0 / 0.5923 GB, free: 17.26 MB / 446.1 MB Notification: Performance of Templates: time 0.002388/0.3849, allocations: 0.6278 MB / 0.5929 GB, free: 16.96 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)