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.001188/0.001188, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001427/0.001427, allocations: 172.7 kB / 15.95 MB, free: 208 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.649/1.649, 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.68/1.68, allocations: 252 MB / 0.5102 GB, free: 4.812 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.000518/0.000518, allocations: 20 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5201, allocations: 106.3 MB / 0.7281 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001275/0.5214, allocations: 0.9866 MB / 0.7291 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.5242, allocations: 2.357 MB / 0.7314 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.5243, allocations: 0 / 0.7314 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.5243, allocations: 0 / 0.7314 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.5244, allocations: 7.938 kB / 0.7314 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.5248, allocations: 103.5 kB / 0.7315 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.5249, allocations: 35.8 kB / 0.7315 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.5249, allocations: 4 kB / 0.7315 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.525, allocations: 19.97 kB / 0.7315 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.5251, allocations: 15.92 kB / 0.7316 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.5251, allocations: 0 / 0.7316 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.5253, allocations: 95.83 kB / 0.7317 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.5254, allocations: 3.984 kB / 0.7317 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.5254, allocations: 33.64 kB / 0.7317 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.5255, allocations: 50.05 kB / 0.7317 GB, free: 7.832 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5255, allocations: 0 / 0.7317 GB, free: 7.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5256, allocations: 0 / 0.7317 GB, free: 7.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.5256, allocations: 0 / 0.7317 GB, free: 7.832 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.0004092/0.526, allocations: 347.2 kB / 0.7321 GB, free: 7.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.526, allocations: 12.03 kB / 0.7321 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.5262, allocations: 19.95 kB / 0.7321 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.5264, allocations: 163.1 kB / 0.7323 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5264, allocations: 8 kB / 0.7323 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.5264, allocations: 3.938 kB / 0.7323 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.5266, allocations: 72.2 kB / 0.7323 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5266, allocations: 0 / 0.7323 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5266, allocations: 3.984 kB / 0.7323 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5266, allocations: 0 / 0.7323 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.5267, allocations: 19.95 kB / 0.7324 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.5273, allocations: 466.8 kB / 0.7328 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.5275, allocations: 83.66 kB / 0.7329 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.5275, allocations: 18.64 kB / 0.7329 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.5275, allocations: 0 / 0.7329 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5275, allocations: 38.64 kB / 0.7329 GB, free: 6.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.5275, allocations: 0 / 0.7329 GB, free: 6.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006014/0.5282, allocations: 306.1 kB / 0.7332 GB, free: 6.039 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.5282, allocations: 110.8 kB / 0.7333 GB, free: 5.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.5283, allocations: 106.2 kB / 0.7334 GB, free: 5.793 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.5283, allocations: 25.7 kB / 0.7335 GB, free: 5.762 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.5284, allocations: 88.05 kB / 0.7335 GB, free: 5.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.5284, allocations: 27.89 kB / 0.7336 GB, free: 5.645 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5284, allocations: 4 kB / 0.7336 GB, free: 5.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5285, allocations: 318.8 kB / 0.7339 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.5286, allocations: 11.98 kB / 0.7339 GB, free: 5.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.5286, allocations: 49.14 kB / 0.7339 GB, free: 5.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.5287, allocations: 24 kB / 0.734 GB, free: 5.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5287, allocations: 0 / 0.734 GB, free: 5.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001396/0.5288, allocations: 93.45 kB / 0.734 GB, free: 5.121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5288, allocations: 11.95 kB / 0.7341 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5289, allocations: 3.938 kB / 0.7341 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5289, allocations: 4 kB / 0.7341 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.5289, allocations: 19.98 kB / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.529, allocations: 4.109 kB / 0.7341 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.529, allocations: 12 kB / 0.7341 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.529, allocations: 4 kB / 0.7341 GB, free: 5.062 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 8.992e-05/0.5291, allocations: 121.7 kB / 0.7342 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.5292, allocations: 4 kB / 0.7342 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.5292, allocations: 11.52 kB / 0.7342 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.5292, allocations: 0 / 0.7342 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5292, allocations: 4 kB / 0.7342 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5293, allocations: 3.938 kB / 0.7342 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.5296, allocations: 173.7 kB / 0.7344 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5296, allocations: 0 / 0.7344 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.5297, allocations: 19.98 kB / 0.7344 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5297, allocations: 0 / 0.7344 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5297, allocations: 7.938 kB / 0.7344 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.5297, allocations: 7.953 kB / 0.7344 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5297, allocations: 4.062 kB / 0.7344 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.53, allocations: 329.9 kB / 0.7348 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.5301, allocations: 85.14 kB / 0.7348 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.5301, allocations: 8 kB / 0.7348 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.5303, allocations: 0 / 0.7348 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.5303, allocations: 7.953 kB / 0.7349 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5303, allocations: 7.984 kB / 0.7349 GB, free: 4.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.5304, allocations: 79.28 kB / 0.7349 GB, free: 4.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5304, allocations: 0 / 0.7349 GB, free: 4.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003141/0.5307, allocations: 16 kB / 0.735 GB, free: 4.094 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.0001842/0.5309, allocations: 107.2 kB / 0.7351 GB, free: 3.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.531, allocations: 44.44 kB / 0.7351 GB, free: 3.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.531, allocations: 0 / 0.7351 GB, free: 3.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.5311, allocations: 19.92 kB / 0.7351 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.5315, allocations: 12.38 kB / 0.7351 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.5323, allocations: 404.3 kB / 0.7355 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.5327, allocations: 0.6848 MB / 0.7362 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.151e-05/0.5328, allocations: 8 kB / 0.7362 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.5328, allocations: 15.38 kB / 0.7362 GB, free: 2.742 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5328, allocations: 0 / 0.7362 GB, free: 2.742 MB / 0.545 GB Notification: Performance of Templates: time 0.003402/0.5362, allocations: 0.5839 MB / 0.7368 GB, free: 2.191 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: