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.894/2.894, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.002736/0.002736, allocations: 181.2 kB / 370.8 MB, free: 10.85 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.309/2.309, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001159/0.001159, allocations: 92.27 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006474, allocations: 14.7 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2163, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00134/0.2177, allocations: 0.9765 MB / 0.9791 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.2206, allocations: 1.885 MB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.2207, allocations: 0 / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.2207, allocations: 7.938 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.2207, allocations: 3.984 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.2213, allocations: 103.7 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.13e-05/0.2214, allocations: 23.95 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.2214, allocations: 7.922 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.2215, allocations: 27.92 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.2215, allocations: 11.92 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2216, allocations: 8 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.222, allocations: 99.95 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.222, allocations: 15.91 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.222, allocations: 29.7 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2222, allocations: 52.11 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2222, allocations: 0 / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2222, allocations: 0 / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.2222, allocations: 0 / 0.9814 GB, free: 25.12 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.0003511/0.2226, allocations: 341.4 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2227, allocations: 16.02 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.2229, allocations: 19.86 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.223, allocations: 159.1 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2231, allocations: 3.984 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.2231, allocations: 8 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.2232, allocations: 68.2 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2233, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2233, allocations: 8 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2233, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.2234, allocations: 23.88 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.224, allocations: 466.9 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2242, allocations: 71.66 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2242, allocations: 4.125 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2243, allocations: 38.5 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.2243, allocations: 0 / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006733/0.225, allocations: 314.2 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.225, allocations: 106.8 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.2251, allocations: 97.84 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2251, allocations: 29.7 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.2252, allocations: 84.05 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.2252, allocations: 27.81 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.2252, allocations: 4 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.2253, allocations: 318.8 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.2253, allocations: 15.94 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.2254, allocations: 53.08 kB / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.2255, allocations: 27.94 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2255, allocations: 3.938 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001723/0.2257, allocations: 89.55 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2257, allocations: 11.95 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2257, allocations: 0 / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2257, allocations: 0 / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2259, allocations: 23.98 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2259, allocations: 0 / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.226, allocations: 12.12 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.226, allocations: 4 kB / 0.9837 GB, free: 22.39 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 7.41e-05/0.2261, allocations: 117.8 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.2261, allocations: 7.891 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.2262, allocations: 15.52 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2262, allocations: 0 / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2262, allocations: 0 / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2262, allocations: 4 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.2267, allocations: 177.6 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2267, allocations: 4 kB / 0.984 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.2269, allocations: 15.98 kB / 0.984 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2269, allocations: 4 kB / 0.984 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2269, allocations: 0 / 0.984 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.227, allocations: 3.953 kB / 0.984 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.227, allocations: 7.938 kB / 0.984 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2272, allocations: 342.1 kB / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.2273, allocations: 88.97 kB / 0.9844 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2273, allocations: 0 / 0.9844 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2276, allocations: 12.03 kB / 0.9845 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.2276, allocations: 4.062 kB / 0.9845 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.2276, allocations: 7.938 kB / 0.9845 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.2277, allocations: 83.36 kB / 0.9845 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2277, allocations: 4 kB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004326/0.2281, allocations: 16 kB / 0.9846 GB, free: 21.39 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.0001287/0.2283, allocations: 107.2 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2284, allocations: 39.92 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2285, allocations: 4 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.2285, allocations: 20.19 kB / 0.9847 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2289, allocations: 7.984 kB / 0.9847 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.2297, allocations: 404.5 kB / 0.9851 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2298, allocations: 0.6926 MB / 0.9858 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.56e-05/0.2299, allocations: 4 kB / 0.9858 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.23, allocations: 11.44 kB / 0.9858 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.23, allocations: 0 / 0.9858 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.003394/0.2334, allocations: 0.5817 MB / 0.9864 GB, free: 19.49 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)