Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001237/0.001237, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8207/0.8207, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3803, allocations: 80.91 MB / 0.5851 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004532/0.3848, allocations: 3.284 MB / 0.5883 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.145e-05/0.385, allocations: 55.47 kB / 0.5883 GB, free: 22.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.385, allocations: 1.75 kB / 0.5883 GB, free: 22.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.975e-05/0.3851, allocations: 3.938 kB / 0.5883 GB, free: 22.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.3852, allocations: 11.14 kB / 0.5883 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.3856, allocations: 181 kB / 0.5885 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.3857, allocations: 34.48 kB / 0.5885 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.3857, allocations: 2.906 kB / 0.5885 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.3858, allocations: 21.03 kB / 0.5886 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.3859, allocations: 14.73 kB / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3859, allocations: 3.938 kB / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.3862, allocations: 172.9 kB / 0.5887 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.3862, allocations: 6.797 kB / 0.5888 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3862, allocations: 13.56 kB / 0.5888 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3865, allocations: 135.7 kB / 0.5889 GB, free: 22.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3865, allocations: 0 / 0.5889 GB, free: 22.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3865, allocations: 1.719 kB / 0.5889 GB, free: 22.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.3865, allocations: 0 / 0.5889 GB, free: 22.14 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.0003116/0.3868, allocations: 352.3 kB / 0.5892 GB, free: 21.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3869, allocations: 11.55 kB / 0.5892 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.3869, allocations: 2.25 kB / 0.5892 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.881e-05/0.387, allocations: 165.7 kB / 0.5894 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.387, allocations: 32.66 kB / 0.5894 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3871, allocations: 5.922 kB / 0.5894 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3872, allocations: 48.06 kB / 0.5895 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3872, allocations: 1.5 kB / 0.5895 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3872, allocations: 1.344 kB / 0.5895 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.3872, allocations: 1.25 kB / 0.5895 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.3873, allocations: 17.39 kB / 0.5895 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.3877, allocations: 0.5777 MB / 0.5901 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.246e-05/0.3878, allocations: 20.58 kB / 0.5901 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.3878, allocations: 7.766 kB / 0.5901 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.388, allocations: 342.1 kB / 0.5904 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.388, allocations: 36.36 kB / 0.5905 GB, free: 20.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.388, allocations: 1.719 kB / 0.5905 GB, free: 20.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.3881, allocations: 40.08 kB / 0.5905 GB, free: 20.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.3881, allocations: 51.41 kB / 0.5905 GB, free: 20.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.3882, allocations: 113.4 kB / 0.5907 GB, free: 20.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.3882, allocations: 25.7 kB / 0.5907 GB, free: 20.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.3882, allocations: 85.73 kB / 0.5908 GB, free: 20 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-06/0.3882, allocations: 7 kB / 0.5908 GB, free: 20 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3883, allocations: 17.66 kB / 0.5908 GB, free: 19.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.3883, allocations: 322.8 kB / 0.5911 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.3883, allocations: 4.188 kB / 0.5911 GB, free: 19.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.3884, allocations: 13.62 kB / 0.5911 GB, free: 19.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.3884, allocations: 26.3 kB / 0.5911 GB, free: 19.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3884, allocations: 0 / 0.5911 GB, free: 19.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.575e-05/0.3885, allocations: 46.98 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3885, allocations: 5.781 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3885, allocations: 1.875 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3885, allocations: 3.984 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.3886, allocations: 5.938 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3886, allocations: 1.5 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.3886, allocations: 6.469 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3886, allocations: 6.938 kB / 0.5912 GB, free: 19.56 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.573e-05/0.3887, allocations: 111.1 kB / 0.5913 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3887, allocations: 5.281 kB / 0.5913 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.55e-05/0.3888, allocations: 121.1 kB / 0.5914 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.3888, allocations: 182.9 kB / 0.5916 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/0.3889, allocations: 177.4 kB / 0.5918 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.3889, allocations: 179.4 kB / 0.592 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.389, allocations: 415.7 kB / 0.5923 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.389, allocations: 107.9 kB / 0.5924 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.3891, allocations: 104.9 kB / 0.5925 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/0.3891, allocations: 177.4 kB / 0.5927 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.3891, allocations: 179 kB / 0.5929 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.259e-05/0.3891, allocations: 186.7 kB / 0.5931 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-05/0.3892, allocations: 177.6 kB / 0.5932 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.685e-05/0.3892, allocations: 313.9 kB / 0.5935 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.3893, allocations: 183.5 kB / 0.5937 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.3893, allocations: 187 kB / 0.5939 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3894, allocations: 109 kB / 0.594 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.3895, allocations: 181.8 kB / 0.5942 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3895, allocations: 106.1 kB / 0.5943 GB, free: 16.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.786e-05/0.3895, allocations: 88.36 kB / 0.5944 GB, free: 16.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3895, allocations: 2.875 kB / 0.5944 GB, free: 16.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3898, allocations: 31.72 kB / 0.5944 GB, free: 16.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.0002298/0.3901, allocations: 238.2 kB / 0.5946 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.3902, allocations: 14.92 kB / 0.5946 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3902, allocations: 1.125 kB / 0.5946 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3902, allocations: 1.594 kB / 0.5946 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3905, allocations: 464.5 kB / 0.5951 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.3908, allocations: 207.1 kB / 0.5953 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.3909, allocations: 0.6755 MB / 0.5959 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.3909, allocations: 9.375 kB / 0.5959 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3909, allocations: 5.781 kB / 0.5959 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Templates: time 0.003057/0.394, allocations: 1.186 MB / 0.5971 GB, free: 13.59 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)