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.001332/0.001332, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.001913/0.001913, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.594/1.594, allocations: 251.9 MB / 0.51 GB, free: 4.84 MB / 414.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.0005455/0.0005456, allocations: 16 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5712/0.5718, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001375/0.5732, allocations: 0.9718 MB / 0.7289 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.5758, allocations: 1.884 MB / 0.7308 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.5759, allocations: 0 / 0.7308 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.5759, allocations: 7.984 kB / 0.7308 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.576, allocations: 11.98 kB / 0.7308 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.5765, allocations: 107.6 kB / 0.7309 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.5766, allocations: 23.95 kB / 0.7309 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.5766, allocations: 4 kB / 0.7309 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.5767, allocations: 15.98 kB / 0.7309 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.5768, allocations: 23.91 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.5768, allocations: 3.938 kB / 0.731 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.5771, allocations: 111.8 kB / 0.7311 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.5771, allocations: 8 kB / 0.7311 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.5772, allocations: 33.69 kB / 0.7311 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.5773, allocations: 45.91 kB / 0.7311 GB, free: 8.188 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.5773, allocations: 0 / 0.7311 GB, free: 8.188 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5773, allocations: 0 / 0.7311 GB, free: 8.188 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5773, allocations: 0 / 0.7311 GB, free: 8.188 MB / 0.545 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.0004102/0.5777, allocations: 346 kB / 0.7315 GB, free: 7.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5778, allocations: 8.031 kB / 0.7315 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.578, allocations: 27.81 kB / 0.7315 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.5782, allocations: 159.1 kB / 0.7317 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5782, allocations: 4 kB / 0.7317 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.5782, allocations: 8 kB / 0.7317 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5784, allocations: 72.23 kB / 0.7317 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5784, allocations: 0 / 0.7317 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5784, allocations: 0 / 0.7317 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5784, allocations: 0 / 0.7317 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.049e-05/0.5785, allocations: 27.88 kB / 0.7318 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.5792, allocations: 470.8 kB / 0.7322 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5794, allocations: 75.81 kB / 0.7323 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.5794, allocations: 0 / 0.7323 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5794, allocations: 38.62 kB / 0.7323 GB, free: 6.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.5794, allocations: 0 / 0.7323 GB, free: 6.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007025/0.5802, allocations: 306.3 kB / 0.7326 GB, free: 6.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.5802, allocations: 106.8 kB / 0.7327 GB, free: 6.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.24e-05/0.5803, allocations: 93.86 kB / 0.7328 GB, free: 6.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.5803, allocations: 29.7 kB / 0.7328 GB, free: 6.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.5804, allocations: 88.03 kB / 0.7329 GB, free: 6.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.5804, allocations: 27.64 kB / 0.7329 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.5804, allocations: 0 / 0.7329 GB, free: 6.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5806, allocations: 326.9 kB / 0.7333 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.5806, allocations: 12 kB / 0.7333 GB, free: 5.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.5807, allocations: 53.08 kB / 0.7333 GB, free: 5.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.5807, allocations: 16 kB / 0.7333 GB, free: 5.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5807, allocations: 4 kB / 0.7333 GB, free: 5.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001303/0.5809, allocations: 93.45 kB / 0.7334 GB, free: 5.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5809, allocations: 11.95 kB / 0.7334 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5809, allocations: 0 / 0.7334 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5809, allocations: 4.609 kB / 0.7334 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.581, allocations: 27.86 kB / 0.7335 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.581, allocations: 4 kB / 0.7335 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.5811, allocations: 7.938 kB / 0.7335 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.5811, allocations: 8.125 kB / 0.7335 GB, free: 5.453 MB / 0.545 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 9.401e-05/0.5812, allocations: 117.8 kB / 0.7336 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.5813, allocations: 4 kB / 0.7336 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.5813, allocations: 15.5 kB / 0.7336 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5813, allocations: 0 / 0.7336 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.5813, allocations: 7.984 kB / 0.7336 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5813, allocations: 0 / 0.7336 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.5817, allocations: 169.7 kB / 0.7338 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5817, allocations: 0 / 0.7338 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.5818, allocations: 27.94 kB / 0.7338 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5818, allocations: 0 / 0.7338 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.5818, allocations: 0 / 0.7338 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.5818, allocations: 11.94 kB / 0.7338 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.5818, allocations: 0 / 0.7338 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.5821, allocations: 353.4 kB / 0.7342 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.5822, allocations: 85.09 kB / 0.7342 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.5823, allocations: 4 kB / 0.7342 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5824, allocations: 0 / 0.7342 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.5825, allocations: 12.05 kB / 0.7343 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.5825, allocations: 8 kB / 0.7343 GB, free: 4.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.616e-05/0.5825, allocations: 75.28 kB / 0.7343 GB, free: 4.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5825, allocations: 0 / 0.7343 GB, free: 4.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003113/0.5829, allocations: 16 kB / 0.7344 GB, free: 4.457 MB / 0.545 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.0001534/0.583, allocations: 106 kB / 0.7345 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.5832, allocations: 47.91 kB / 0.7345 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5832, allocations: 0 / 0.7345 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.5832, allocations: 19.94 kB / 0.7345 GB, free: 4.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.5836, allocations: 4.375 kB / 0.7345 GB, free: 4.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.5843, allocations: 416.4 kB / 0.7349 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.5846, allocations: 0.6887 MB / 0.7356 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.409e-05/0.5847, allocations: 15.97 kB / 0.7356 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.5847, allocations: 11.44 kB / 0.7356 GB, free: 3.094 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5847, allocations: 0 / 0.7356 GB, free: 3.094 MB / 0.545 GB Notification: Performance of Templates: time 0.003251/0.588, allocations: 0.5844 MB / 0.7362 GB, free: 2.543 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: