Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006805/0.006804, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001625/0.001625, allocations: 193 kB / 16.67 MB, free: 5.52 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 251.7 MB / 0.5094 GB, free: 420 kB / 430.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.001385/0.001386, allocations: 67.91 kB / 0.7257 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6406/0.642, allocations: 104.7 MB / 0.828 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002452/0.6445, allocations: 1.266 MB / 0.8292 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.6477, allocations: 2.502 MB / 0.8317 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.6477, allocations: 4 kB / 0.8317 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.6478, allocations: 0 / 0.8317 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.6479, allocations: 7.875 kB / 0.8317 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.6484, allocations: 135.4 kB / 0.8318 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.6485, allocations: 47.83 kB / 0.8319 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.6486, allocations: 0 / 0.8319 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.6486, allocations: 15.98 kB / 0.8319 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.6487, allocations: 15.92 kB / 0.8319 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.6487, allocations: 4 kB / 0.8319 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.6491, allocations: 115.7 kB / 0.832 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.6491, allocations: 11.98 kB / 0.832 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.6491, allocations: 15.92 kB / 0.832 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.6494, allocations: 87.36 kB / 0.8321 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6494, allocations: 3.938 kB / 0.8321 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6494, allocations: 0 / 0.8321 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.6494, allocations: 0 / 0.8321 GB, free: 14.42 MB / 0.6387 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.0004885/0.6499, allocations: 353.8 kB / 0.8325 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.65, allocations: 8.031 kB / 0.8325 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.6502, allocations: 8.938 kB / 0.8325 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.6503, allocations: 168.3 kB / 0.8326 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.6503, allocations: 12.36 kB / 0.8327 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.6504, allocations: 12.28 kB / 0.8327 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.6505, allocations: 76.27 kB / 0.8327 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6505, allocations: 0 / 0.8327 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.6506, allocations: 3.984 kB / 0.8327 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6506, allocations: 4 kB / 0.8327 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.6506, allocations: 7.938 kB / 0.8328 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.6512, allocations: 466.9 kB / 0.8332 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.6513, allocations: 71.72 kB / 0.8333 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.6514, allocations: 26.64 kB / 0.8333 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.6514, allocations: 0 / 0.8333 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.6514, allocations: 42.58 kB / 0.8333 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.6514, allocations: 0 / 0.8333 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0006228/0.6521, allocations: 302.3 kB / 0.8336 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.6521, allocations: 102.8 kB / 0.8337 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.6522, allocations: 102.2 kB / 0.8338 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.6522, allocations: 29.7 kB / 0.8338 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.6523, allocations: 91.98 kB / 0.8339 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.6523, allocations: 23.7 kB / 0.834 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.6524, allocations: 21.72 kB / 0.834 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.6525, allocations: 326.8 kB / 0.8343 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.6525, allocations: 16.06 kB / 0.8343 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.6526, allocations: 53.08 kB / 0.8344 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.6527, allocations: 81.19 kB / 0.8344 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6527, allocations: 4 kB / 0.8344 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001308/0.6528, allocations: 97.45 kB / 0.8345 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6528, allocations: 4 kB / 0.8345 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.6528, allocations: 4 kB / 0.8345 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6529, allocations: 0 / 0.8345 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.6529, allocations: 16 kB / 0.8346 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.653, allocations: 8.125 kB / 0.8346 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.653, allocations: 3.938 kB / 0.8346 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.653, allocations: 11.97 kB / 0.8346 GB, free: 11.55 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.6531, allocations: 125.7 kB / 0.8347 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.6532, allocations: 7.906 kB / 0.8347 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.6532, allocations: 11.5 kB / 0.8347 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6532, allocations: 4 kB / 0.8347 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6532, allocations: 0 / 0.8347 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6532, allocations: 0 / 0.8347 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.6536, allocations: 185.6 kB / 0.8349 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6536, allocations: 4 kB / 0.8349 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.6537, allocations: 15.98 kB / 0.8349 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6537, allocations: 0 / 0.8349 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.6537, allocations: 4 kB / 0.8349 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6537, allocations: 0 / 0.8349 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6537, allocations: 3.938 kB / 0.8349 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.6539, allocations: 330 kB / 0.8352 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.654, allocations: 85.02 kB / 0.8353 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.654, allocations: 0 / 0.8353 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.6542, allocations: 12.03 kB / 0.8353 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.6542, allocations: 0 / 0.8353 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.6542, allocations: 7.938 kB / 0.8353 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.6543, allocations: 83.27 kB / 0.8354 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6543, allocations: 0 / 0.8354 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003068/0.6546, allocations: 16 kB / 0.8354 GB, free: 10.58 MB / 0.6387 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 (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.0001349/0.6547, allocations: 108.6 kB / 0.8355 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.6549, allocations: 47.92 kB / 0.8356 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6549, allocations: 0 / 0.8356 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.6549, allocations: 23.92 kB / 0.8356 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.6554, allocations: 12.56 kB / 0.8356 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.656, allocations: 331.8 kB / 0.8359 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.6563, allocations: 0.6807 MB / 0.8366 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.953e-05/0.6563, allocations: 11.98 kB / 0.8366 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.6563, allocations: 11.44 kB / 0.8366 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of SimCode: time 4.9e-07/0.6564, allocations: 0 / 0.8366 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of Templates: time 0.003092/0.6594, allocations: 0.6473 MB / 0.8373 GB, free: 8.684 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)