Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.902/2.902, allocations: 287.5 MB / 302.4 MB, free: 8.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001413, allocations: 174.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008802/0.00088, allocations: 94.22 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004982, allocations: 15.91 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2132, allocations: 115.2 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001383/0.2146, allocations: 0.9859 MB / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00341/0.2181, allocations: 2.339 MB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.2182, allocations: 11.94 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.2182, allocations: 3.984 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.2183, allocations: 3.984 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.2188, allocations: 103.4 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.2189, allocations: 35.89 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.2189, allocations: 0 / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.526e-05/0.219, allocations: 15.94 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.2191, allocations: 27.91 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2191, allocations: 4 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2194, allocations: 87.81 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.2195, allocations: 0 / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.2195, allocations: 33.7 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.2197, allocations: 48.16 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2197, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2197, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2197, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003781/0.2201, allocations: 343.4 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2201, allocations: 12.02 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.2204, allocations: 23.83 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.908e-05/0.2205, allocations: 163 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.2205, allocations: 8 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.2206, allocations: 7.938 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2207, allocations: 72.23 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2207, allocations: 4 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2208, allocations: 7.922 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2208, allocations: 4 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.2208, allocations: 19.88 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.2215, allocations: 466.9 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2216, allocations: 71.75 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.2217, allocations: 22.64 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2217, allocations: 0 / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2217, allocations: 42.56 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.2217, allocations: 0 / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000661/0.2224, allocations: 306.1 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2225, allocations: 102.8 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.2225, allocations: 102.1 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2226, allocations: 33.7 kB / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.2226, allocations: 88.05 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2226, allocations: 27.56 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.2226, allocations: 0 / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.2227, allocations: 318.8 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.2228, allocations: 15.94 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.2228, allocations: 53.14 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.2229, allocations: 23.98 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2229, allocations: 0 / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001701/0.2231, allocations: 85.56 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2231, allocations: 11.94 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2231, allocations: 4 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2231, allocations: 4.125 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2233, allocations: 20.55 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2233, allocations: 4 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.2234, allocations: 4 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.2234, allocations: 4 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.2235, allocations: 117.8 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.2235, allocations: 11.84 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.2236, allocations: 11.52 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2236, allocations: 8 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2236, allocations: 0 / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2236, allocations: 3.984 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.2241, allocations: 173.6 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2241, allocations: 4 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2243, allocations: 23.92 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2243, allocations: 0 / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2243, allocations: 7.938 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2243, allocations: 3.953 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2243, allocations: 0 / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2246, allocations: 326 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.2246, allocations: 85.02 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2247, allocations: 4 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2249, allocations: 8.031 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.2249, allocations: 3.953 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.225, allocations: 4 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.225, allocations: 87.28 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.225, allocations: 0 / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003905/0.2254, allocations: 8 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.2255, allocations: 108.2 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.2257, allocations: 43.92 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2257, allocations: 8.188 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.2258, allocations: 16.06 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.2263, allocations: 11.98 kB / 0.9853 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.227, allocations: 400.5 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2272, allocations: 0.6822 MB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.456e-05/0.2273, allocations: 15.97 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.2273, allocations: 11.44 kB / 0.9864 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2273, allocations: 0 / 0.9864 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.003389/0.2307, allocations: 0.6044 MB / 0.987 GB, free: 19.02 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)