Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001336/0.001335, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 186.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 73.7 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005437/0.3, allocations: 3.28 MB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.3001, allocations: 55.8 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.3002, allocations: 0 / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3003, allocations: 7.984 kB / 0.7874 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.3004, allocations: 3.938 kB / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.301, allocations: 182.1 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.3011, allocations: 31.86 kB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.3011, allocations: 4 kB / 0.7876 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.3012, allocations: 15.92 kB / 0.7876 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.3013, allocations: 11.98 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3013, allocations: 0 / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.3016, allocations: 175.5 kB / 0.7878 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.3017, allocations: 4 kB / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3017, allocations: 11.94 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.302, allocations: 131.7 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.302, allocations: 0 / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.302, allocations: 0 / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.302, allocations: 4 kB / 0.7879 GB, free: 8.836 MB / 0.6075 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.0004441/0.3025, allocations: 347.4 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3025, allocations: 12.03 kB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.3026, allocations: 4.844 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3027, allocations: 164.4 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.3028, allocations: 34.27 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.3028, allocations: 384 / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.303, allocations: 49.55 kB / 0.7885 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.303, allocations: 8 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.303, allocations: 0 / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.303, allocations: 3.938 kB / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.3031, allocations: 15.98 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.3037, allocations: 0.5755 MB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.737e-05/0.3038, allocations: 22.61 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.3038, allocations: 8.859 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.3041, allocations: 344.5 kB / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3041, allocations: 34.5 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.3041, allocations: 0 / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.3043, allocations: 41.69 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3043, allocations: 51.41 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.3044, allocations: 93.86 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3044, allocations: 29.83 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.3045, allocations: 96.03 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.3045, allocations: 3.906 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.3045, allocations: 17.72 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3046, allocations: 318.8 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.3047, allocations: 7.938 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.3047, allocations: 21.64 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.3047, allocations: 21.72 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3048, allocations: 0 / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.38e-05/0.3048, allocations: 53.62 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3049, allocations: 4 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3049, allocations: 4 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3049, allocations: 0 / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.394e-05/0.3049, allocations: 8 kB / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3049, allocations: 0 / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.305, allocations: 8 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.305, allocations: 11.97 kB / 0.7902 GB, free: 6.07 MB / 0.6075 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 6.644e-05/0.3051, allocations: 110.4 kB / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3051, allocations: 0 / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3052, allocations: 121.2 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/0.3053, allocations: 180.2 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.87e-05/0.3053, allocations: 184.3 kB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-05/0.3054, allocations: 184.2 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.3057, allocations: 413.1 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.26e-05/0.3057, allocations: 104.9 kB / 0.7915 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.3058, allocations: 101.1 kB / 0.7916 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.216e-05/0.3058, allocations: 188.2 kB / 0.7918 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.3059, allocations: 188.2 kB / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.723e-05/0.306, allocations: 180.2 kB / 0.7921 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-05/0.306, allocations: 180.2 kB / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3062, allocations: 307.7 kB / 0.7926 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.3063, allocations: 190.1 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.3064, allocations: 176.3 kB / 0.7929 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3066, allocations: 116.9 kB / 0.793 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.3066, allocations: 176.3 kB / 0.7932 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.3067, allocations: 104.9 kB / 0.7933 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.3067, allocations: 87.28 kB / 0.7934 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3068, allocations: 4 kB / 0.7934 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002965/0.3071, allocations: 35.98 kB / 0.7934 GB, free: 2.586 MB / 0.6075 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.0002764/0.3073, allocations: 234.3 kB / 0.7936 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.3074, allocations: 8 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3074, allocations: 0 / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.3074, allocations: 4 kB / 0.7937 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.3079, allocations: 471.8 kB / 0.7941 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.3082, allocations: 182 kB / 0.7943 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3085, allocations: 0.6729 MB / 0.7949 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.3085, allocations: 6.953 kB / 0.7949 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.3086, allocations: 11.44 kB / 0.795 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3086, allocations: 0 / 0.795 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of Templates: time 0.003667/0.3122, allocations: 1.167 MB / 0.7961 GB, free: 15.83 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)