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.001468/0.001468, allocations: 108 kB / 15.6 MB, free: 132 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.001561/0.001562, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.484/1.484, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.743/1.743, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001546/0.001546, allocations: 74.7 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.29, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00508/0.2951, allocations: 3.274 MB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.2952, allocations: 63.78 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2953, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.2954, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.2955, allocations: 11.91 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.296, allocations: 170.4 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.296, allocations: 31.91 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.2961, allocations: 8 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.2961, allocations: 23.86 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.2962, allocations: 7.984 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2962, allocations: 4 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.2966, allocations: 167.6 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.2966, allocations: 4 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.2967, allocations: 15.91 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.2969, allocations: 128 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2969, allocations: 4 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2969, allocations: 0 / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2969, allocations: 0 / 0.7872 GB, free: 9.562 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.0003928/0.2973, allocations: 355.4 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2974, allocations: 8.031 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2974, allocations: 4.844 kB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2975, allocations: 172.4 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.2976, allocations: 30.25 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2976, allocations: 384 / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2978, allocations: 45.62 kB / 0.7878 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2978, allocations: 4 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2978, allocations: 0 / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2978, allocations: 0 / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.2979, allocations: 23.92 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.2985, allocations: 0.5755 MB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.6e-05/0.2986, allocations: 18.58 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.2986, allocations: 12.92 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.2988, allocations: 344.4 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2988, allocations: 34.5 kB / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2989, allocations: 0 / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.299, allocations: 45.62 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.299, allocations: 51.41 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.2991, allocations: 105.8 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2991, allocations: 25.7 kB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.2992, allocations: 88.17 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.942e-06/0.2992, allocations: 3.906 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2992, allocations: 17.72 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2994, allocations: 318.8 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.2994, allocations: 11.92 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.2994, allocations: 13.72 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.2995, allocations: 29.66 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2995, allocations: 0 / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.784e-05/0.2996, allocations: 49.62 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2996, allocations: 4 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2996, allocations: 4 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2996, allocations: 0 / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.2997, allocations: 7.984 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2997, allocations: 0 / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.2997, allocations: 3.938 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2997, allocations: 8.062 kB / 0.7895 GB, free: 6.797 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.679e-05/0.2998, allocations: 109.8 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.2998, allocations: 8 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.2999, allocations: 120.9 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.556e-05/0.3, allocations: 176.3 kB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-05/0.3001, allocations: 180.3 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.665e-05/0.3001, allocations: 184.2 kB / 0.7902 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.3004, allocations: 409.1 kB / 0.7906 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/0.3004, allocations: 104.9 kB / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.3005, allocations: 101.1 kB / 0.7908 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.801e-05/0.3005, allocations: 192.5 kB / 0.791 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.3006, allocations: 184.2 kB / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-05/0.3007, allocations: 176.3 kB / 0.7913 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.959e-05/0.3007, allocations: 184.2 kB / 0.7915 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.3009, allocations: 311.7 kB / 0.7918 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.3009, allocations: 186 kB / 0.792 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.3011, allocations: 176.3 kB / 0.7922 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3012, allocations: 116.9 kB / 0.7923 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.3013, allocations: 176.3 kB / 0.7924 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.3013, allocations: 109 kB / 0.7926 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.3014, allocations: 87.27 kB / 0.7926 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3014, allocations: 11.88 kB / 0.7926 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002764/0.3017, allocations: 32 kB / 0.7927 GB, free: 3.309 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.0002622/0.3019, allocations: 241.2 kB / 0.7929 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.806e-05/0.302, allocations: 12 kB / 0.7929 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.302, allocations: 0 / 0.7929 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-06/0.302, allocations: 3.984 kB / 0.7929 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3025, allocations: 458.5 kB / 0.7934 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.3027, allocations: 186 kB / 0.7935 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.303, allocations: 0.6729 MB / 0.7942 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.303, allocations: 4 kB / 0.7942 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.303, allocations: 11.42 kB / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.303, allocations: 0 / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.003505/0.3065, allocations: 1.158 MB / 0.7953 GB, free: 0.5586 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)