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.00178/0.00178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002155/0.002155, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.417/1.417, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.747/1.747, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001387/0.001388, allocations: 66.47 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006689/0.3195, allocations: 3.335 MB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001213/0.3196, allocations: 47.84 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.3197, allocations: 4 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3198, allocations: 0 / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.32, allocations: 15.91 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.3206, allocations: 163.4 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.3207, allocations: 27.91 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.3208, allocations: 11.88 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.3208, allocations: 19.92 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.3209, allocations: 7.984 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3209, allocations: 4 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.3213, allocations: 175.5 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.3213, allocations: 3.984 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.3214, allocations: 19.92 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3216, allocations: 132 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3216, allocations: 0 / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3217, allocations: 0 / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3217, allocations: 0 / 0.7867 GB, free: 9.918 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.0004419/0.3221, allocations: 343.5 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3222, allocations: 12.03 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3222, allocations: 12.77 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3223, allocations: 160.4 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.3224, allocations: 34.27 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3224, allocations: 384 / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3226, allocations: 45.62 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3226, allocations: 4 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3226, allocations: 0 / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.3226, allocations: 3.984 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.3227, allocations: 8 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.3234, allocations: 0.5911 MB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.3235, allocations: 14.58 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.3235, allocations: 4.859 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.3238, allocations: 356.4 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3238, allocations: 30.56 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3238, allocations: 0 / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001838/0.324, allocations: 41.64 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.324, allocations: 51.41 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.3241, allocations: 101.8 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3241, allocations: 25.7 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.3242, allocations: 92.05 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/0.3242, allocations: 3.906 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3243, allocations: 17.7 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3244, allocations: 318.7 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.3244, allocations: 12.12 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.3244, allocations: 17.7 kB / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.3245, allocations: 21.66 kB / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3245, allocations: 0 / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.678e-05/0.3246, allocations: 49.97 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3246, allocations: 4 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3246, allocations: 8 kB / 0.789 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3246, allocations: 0 / 0.789 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.3247, allocations: 15.94 kB / 0.789 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3247, allocations: 0 / 0.789 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.3247, allocations: 7.922 kB / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3248, allocations: 4 kB / 0.789 GB, free: 7.156 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 8.176e-05/0.3248, allocations: 110.4 kB / 0.7891 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3249, allocations: 3.984 kB / 0.7891 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.325, allocations: 121 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.861e-05/0.3251, allocations: 184.2 kB / 0.7894 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-05/0.3252, allocations: 180.3 kB / 0.7896 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.735e-05/0.3253, allocations: 184.2 kB / 0.7898 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3255, allocations: 413.1 kB / 0.7902 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/0.3256, allocations: 105 kB / 0.7903 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.3256, allocations: 104.9 kB / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.496e-05/0.3257, allocations: 176.3 kB / 0.7905 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.3258, allocations: 184.4 kB / 0.7907 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.075e-05/0.3258, allocations: 176.3 kB / 0.7909 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.615e-05/0.3259, allocations: 188.3 kB / 0.7911 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.326, allocations: 307.7 kB / 0.7914 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.3261, allocations: 190 kB / 0.7915 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.472e-05/0.3262, allocations: 180.2 kB / 0.7917 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3264, allocations: 105 kB / 0.7918 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.3264, allocations: 184.2 kB / 0.792 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.3265, allocations: 109 kB / 0.7921 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.3265, allocations: 83.28 kB / 0.7922 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3265, allocations: 4 kB / 0.7922 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002647/0.3268, allocations: 24 kB / 0.7922 GB, free: 3.688 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.0003028/0.3271, allocations: 250.3 kB / 0.7924 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.3272, allocations: 11.94 kB / 0.7924 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3272, allocations: 0 / 0.7924 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3272, allocations: 0 / 0.7924 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3277, allocations: 470.1 kB / 0.7929 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.328, allocations: 181.8 kB / 0.7931 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3283, allocations: 0.6768 MB / 0.7937 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.3283, allocations: 8 kB / 0.7937 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.3284, allocations: 11.44 kB / 0.7938 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3284, allocations: 0 / 0.7938 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.003599/0.332, allocations: 1.156 MB / 0.7949 GB, free: 0.9258 MB / 0.6075 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)