Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00124/0.00124, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.001131/0.001131, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8246/0.8246, allocations: 135.2 MB / 425.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 59.91 kB / 0.5055 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3557, allocations: 80.93 MB / 0.5846 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.0051/0.3608, allocations: 4.038 MB / 0.5885 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.361, allocations: 160 kB / 0.5886 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.3611, allocations: 0.8438 kB / 0.5886 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3612, allocations: 3.938 kB / 0.5887 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.3613, allocations: 8.516 kB / 0.5887 GB, free: 21.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.3617, allocations: 76.67 kB / 0.5887 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.3618, allocations: 34.03 kB / 0.5888 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.3618, allocations: 5.547 kB / 0.5888 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.3619, allocations: 18.58 kB / 0.5888 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.3619, allocations: 13.73 kB / 0.5888 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.362, allocations: 2.562 kB / 0.5888 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3622, allocations: 61.45 kB / 0.5889 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.3622, allocations: 3.969 kB / 0.5889 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.3623, allocations: 13.86 kB / 0.5889 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3624, allocations: 30.03 kB / 0.5889 GB, free: 21.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3624, allocations: 1.281 kB / 0.5889 GB, free: 21.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3624, allocations: 0 / 0.5889 GB, free: 21.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3624, allocations: 0 / 0.5889 GB, free: 21.37 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.0003511/0.3628, allocations: 347.1 kB / 0.5892 GB, free: 21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3628, allocations: 10.58 kB / 0.5893 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3629, allocations: 3.719 kB / 0.5893 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.363, allocations: 165.6 kB / 0.5894 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.363, allocations: 28.73 kB / 0.5894 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3631, allocations: 2.25 kB / 0.5894 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3632, allocations: 56.73 kB / 0.5895 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3632, allocations: 0 / 0.5895 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3632, allocations: 0.6562 kB / 0.5895 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.3633, allocations: 1.188 kB / 0.5895 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.3633, allocations: 17.91 kB / 0.5895 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3637, allocations: 335 kB / 0.5898 GB, free: 20.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.401e-05/0.3638, allocations: 19.77 kB / 0.5899 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.3638, allocations: 11.73 kB / 0.5899 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.107e-05/0.3639, allocations: 83.52 kB / 0.5899 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3639, allocations: 32.28 kB / 0.59 GB, free: 20.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3639, allocations: 0 / 0.59 GB, free: 20.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.364, allocations: 44.09 kB / 0.59 GB, free: 20.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.3641, allocations: 52.28 kB / 0.5901 GB, free: 20.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.3641, allocations: 101.4 kB / 0.5902 GB, free: 19.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3642, allocations: 26.92 kB / 0.5902 GB, free: 19.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.3642, allocations: 89.91 kB / 0.5903 GB, free: 19.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.3642, allocations: 4 kB / 0.5903 GB, free: 19.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.3642, allocations: 19.5 kB / 0.5903 GB, free: 19.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.3643, allocations: 316.1 kB / 0.5906 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.3643, allocations: 10.17 kB / 0.5906 GB, free: 19.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.3643, allocations: 13.97 kB / 0.5906 GB, free: 19.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.3644, allocations: 25.47 kB / 0.5906 GB, free: 19.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3644, allocations: 2.094 kB / 0.5906 GB, free: 19.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.672e-05/0.3644, allocations: 43.94 kB / 0.5907 GB, free: 19.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3645, allocations: 4.031 kB / 0.5907 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3645, allocations: 1.125 kB / 0.5907 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3645, allocations: 2.438 kB / 0.5907 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.3645, allocations: 4.312 kB / 0.5907 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3646, allocations: 9.172 kB / 0.5907 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.3646, allocations: 13.97 kB / 0.5907 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3646, allocations: 5.266 kB / 0.5907 GB, free: 19.39 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 5.137e-05/0.3647, allocations: 113.1 kB / 0.5908 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3647, allocations: 2.375 kB / 0.5908 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.3648, allocations: 120.3 kB / 0.591 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.3648, allocations: 181.9 kB / 0.5911 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/0.3649, allocations: 178.7 kB / 0.5913 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/0.3649, allocations: 188.1 kB / 0.5915 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.365, allocations: 415.2 kB / 0.5919 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.3651, allocations: 102.4 kB / 0.592 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.3651, allocations: 106 kB / 0.5921 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.289e-05/0.3651, allocations: 183.8 kB / 0.5922 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.3651, allocations: 180.2 kB / 0.5924 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-05/0.3652, allocations: 177.6 kB / 0.5926 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-05/0.3652, allocations: 182.5 kB / 0.5928 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.407e-05/0.3653, allocations: 310.5 kB / 0.5931 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.3653, allocations: 182.8 kB / 0.5932 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3654, allocations: 183.3 kB / 0.5934 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3655, allocations: 108.6 kB / 0.5935 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.3656, allocations: 181.5 kB / 0.5937 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3656, allocations: 104.2 kB / 0.5938 GB, free: 16.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.3656, allocations: 89.23 kB / 0.5939 GB, free: 16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3656, allocations: 0 / 0.5939 GB, free: 16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3659, allocations: 11.97 kB / 0.5939 GB, free: 16 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.0002729/0.3662, allocations: 200.6 kB / 0.5941 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.3662, allocations: 13.58 kB / 0.5941 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3663, allocations: 1.938 kB / 0.5941 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.3663, allocations: 0.9375 kB / 0.5941 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3666, allocations: 463.7 kB / 0.5945 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.3668, allocations: 232.1 kB / 0.5948 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.609e-05/0.3669, allocations: 0.6751 MB / 0.5954 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.367, allocations: 9.812 kB / 0.5954 GB, free: 14.42 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.367, allocations: 1.281 kB / 0.5954 GB, free: 14.42 MB / 446.1 MB Notification: Performance of Templates: time 0.002349/0.3693, allocations: 0.7473 MB / 0.5962 GB, free: 14.08 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)