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.001357/0.001357, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001604/0.001604, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.041/1.041, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001925, allocations: 67.92 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2426, allocations: 80.92 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006338/0.249, allocations: 3.345 MB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.2492, allocations: 59.84 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.2492, allocations: 0 / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.2494, allocations: 3.938 kB / 0.587 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.766e-05/0.2495, allocations: 7.984 kB / 0.587 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.2501, allocations: 182.6 kB / 0.5872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2502, allocations: 51.83 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.2503, allocations: 4 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.2503, allocations: 23.91 kB / 0.5873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.2504, allocations: 8 kB / 0.5873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2504, allocations: 0 / 0.5873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.2509, allocations: 175.5 kB / 0.5875 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.251, allocations: 3.984 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.251, allocations: 15.94 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.2514, allocations: 139.9 kB / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2514, allocations: 0 / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2514, allocations: 0 / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2514, allocations: 4 kB / 0.5876 GB, free: 0.9727 MB / 494.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.0005147/0.2519, allocations: 347.4 kB / 0.5879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.252, allocations: 8.031 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.252, allocations: 0.9375 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2522, allocations: 164.4 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/0.2523, allocations: 30.25 kB / 0.5881 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2523, allocations: 4.375 kB / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2525, allocations: 57.55 kB / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2525, allocations: 0 / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2525, allocations: 0 / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.2526, allocations: 0 / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/0.2526, allocations: 19.98 kB / 0.5882 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.2534, allocations: 0.5833 MB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.53e-05/0.2535, allocations: 18.64 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.2535, allocations: 16.8 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.2538, allocations: 340.4 kB / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2539, allocations: 30.56 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 3.256e-06/0.2539, allocations: 4 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000176/0.2541, allocations: 37.64 kB / 0.5892 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.2541, allocations: 55.53 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2542, allocations: 105.8 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2543, allocations: 25.7 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2543, allocations: 84.14 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-06/0.2543, allocations: 3.906 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.2544, allocations: 13.72 kB / 0.5895 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2545, allocations: 330.7 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.2545, allocations: 0 / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.2546, allocations: 17.72 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.2546, allocations: 25.7 kB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2547, allocations: 0 / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001064/0.2548, allocations: 45.64 kB / 0.5899 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2548, allocations: 4 kB / 0.5899 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2548, allocations: 7.984 kB / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2548, allocations: 64 / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.2549, allocations: 8 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2549, allocations: 0 / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.255, allocations: 3.938 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.255, allocations: 4 kB / 0.5899 GB, free: 14.23 MB / 0.4981 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 9.799e-05/0.2551, allocations: 113.8 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.2551, allocations: 7.906 kB / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.2553, allocations: 125.9 kB / 0.5902 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-05/0.2554, allocations: 180.5 kB / 0.5903 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.14e-05/0.2554, allocations: 180.2 kB / 0.5905 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.049e-05/0.2555, allocations: 180.2 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2558, allocations: 413.1 kB / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.056e-05/0.2559, allocations: 105 kB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.2559, allocations: 109 kB / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.241e-05/0.256, allocations: 180.2 kB / 0.5914 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.2561, allocations: 180.3 kB / 0.5916 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.326e-05/0.2561, allocations: 184.4 kB / 0.5918 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-05/0.2562, allocations: 184.3 kB / 0.592 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.2564, allocations: 315.7 kB / 0.5923 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.2565, allocations: 178.1 kB / 0.5924 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.2566, allocations: 184.2 kB / 0.5926 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2568, allocations: 112.9 kB / 0.5927 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.2569, allocations: 180.3 kB / 0.5929 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.257, allocations: 112.9 kB / 0.593 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.032e-05/0.257, allocations: 87.27 kB / 0.5931 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2571, allocations: 0 / 0.5931 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004456/0.2575, allocations: 32 kB / 0.5931 GB, free: 10.73 MB / 0.4981 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.0003378/0.2579, allocations: 238.3 kB / 0.5933 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.2579, allocations: 8 kB / 0.5933 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.258, allocations: 0 / 0.5933 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.258, allocations: 3.938 kB / 0.5933 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.2586, allocations: 0.5316 MB / 0.5939 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.2589, allocations: 179.7 kB / 0.594 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2592, allocations: 0.6731 MB / 0.5947 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.196e-05/0.2593, allocations: 8 kB / 0.5947 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.2593, allocations: 15.38 kB / 0.5947 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.2593, allocations: 0 / 0.5947 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.004871/0.2642, allocations: 1.189 MB / 0.5959 GB, free: 7.879 MB / 0.4981 GB 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)