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.001169/0.001169, 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.001167/0.001167, allocations: 195.1 kB / 16.14 MB, free: 6.699 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.415/1.415, allocations: 205.1 MB / 222 MB, free: 4.77 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.769/1.769, allocations: 292.2 MB / 0.5484 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.002066/0.002067, allocations: 65.42 kB / 0.6708 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2307, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004516/0.2352, allocations: 3.351 MB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.521e-05/0.2354, allocations: 51.86 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.2354, allocations: 0 / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.2355, allocations: 3.938 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.2356, allocations: 19.91 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.236, allocations: 147.5 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.2361, allocations: 63.8 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.993e-05/0.2361, allocations: 0 / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.2362, allocations: 11.94 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.2363, allocations: 19.91 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2363, allocations: 0 / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.2366, allocations: 171.6 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.2367, allocations: 8 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.2367, allocations: 15.91 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.237, allocations: 132 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.237, allocations: 0 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.91e-07/0.237, allocations: 0 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.237, allocations: 0 / 0.7866 GB, free: 10.02 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.0003993/0.2374, allocations: 355.5 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2374, allocations: 8.031 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.2375, allocations: 12.84 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2376, allocations: 160.4 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.2377, allocations: 30.25 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.2377, allocations: 4.375 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2378, allocations: 45.56 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2378, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2379, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.2379, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.2379, allocations: 19.98 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.2385, allocations: 0.5833 MB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.2386, allocations: 22.58 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.2386, allocations: 4.859 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.2388, allocations: 344.3 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2388, allocations: 34.56 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.2389, allocations: 8 kB / 0.7881 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.239, allocations: 33.69 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.239, allocations: 51.41 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.2391, allocations: 105.8 kB / 0.7883 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2391, allocations: 25.7 kB / 0.7883 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.2392, allocations: 87.98 kB / 0.7884 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.2392, allocations: 3.906 kB / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.2392, allocations: 17.84 kB / 0.7884 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2393, allocations: 326.7 kB / 0.7887 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.2394, allocations: 3.984 kB / 0.7887 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.2394, allocations: 17.72 kB / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.2394, allocations: 17.72 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2394, allocations: 0 / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.407e-05/0.2395, allocations: 53.62 kB / 0.7888 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2395, allocations: 4 kB / 0.7888 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2395, allocations: 4 kB / 0.7888 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2396, allocations: 4 kB / 0.7888 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.2396, allocations: 7.984 kB / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2396, allocations: 0 / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.2397, allocations: 7.938 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2397, allocations: 288 / 0.7889 GB, free: 7.262 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.878e-05/0.2397, allocations: 114.4 kB / 0.789 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.2398, allocations: 8.062 kB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-05/0.2399, allocations: 127.7 kB / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/0.2399, allocations: 180.3 kB / 0.7893 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.754e-05/0.24, allocations: 180.2 kB / 0.7894 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/0.24, allocations: 180.3 kB / 0.7896 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2402, allocations: 417 kB / 0.79 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/0.2403, allocations: 101 kB / 0.7901 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.2403, allocations: 109 kB / 0.7902 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.072e-05/0.2404, allocations: 184.2 kB / 0.7904 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.2404, allocations: 176.3 kB / 0.7906 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.843e-05/0.2405, allocations: 180.2 kB / 0.7907 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.088e-05/0.2405, allocations: 184.5 kB / 0.7909 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2407, allocations: 315.7 kB / 0.7912 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.2407, allocations: 178.1 kB / 0.7914 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.2408, allocations: 180.2 kB / 0.7915 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2409, allocations: 113 kB / 0.7917 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.241, allocations: 180.3 kB / 0.7918 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.241, allocations: 112.9 kB / 0.7919 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.2411, allocations: 87.2 kB / 0.792 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2411, allocations: 0 / 0.792 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002654/0.2413, allocations: 32 kB / 0.792 GB, free: 3.773 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.0002567/0.2416, allocations: 242.3 kB / 0.7923 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.174e-05/0.2417, allocations: 11.98 kB / 0.7923 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2417, allocations: 4.062 kB / 0.7923 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2417, allocations: 4 kB / 0.7923 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2421, allocations: 0.5185 MB / 0.7928 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.2424, allocations: 179.7 kB / 0.793 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.2426, allocations: 0.677 MB / 0.7936 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.2427, allocations: 10.52 kB / 0.7936 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.2427, allocations: 7.438 kB / 0.7937 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2427, allocations: 0 / 0.7937 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of Templates: time 0.003163/0.2459, allocations: 1.152 MB / 0.7948 GB, free: 0.957 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)