Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001142/0.001142, allocations: 99.23 kB / 16.27 MB, free: 6.406 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.001163/0.001163, allocations: 188 kB / 17.2 MB, free: 5.938 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.364/1.364, allocations: 205.1 MB / 223.1 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.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.001427/0.001427, allocations: 63.91 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2332, allocations: 114.6 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002587/0.2359, allocations: 1.264 MB / 0.7853 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.2391, allocations: 2.508 MB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.2391, allocations: 4 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.2392, allocations: 0 / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.937e-05/0.2392, allocations: 3.938 kB / 0.7877 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4172/0.6564, allocations: 121.8 kB / 0.7878 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.6566, allocations: 35.59 kB / 0.7879 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.6566, allocations: 3.125 kB / 0.7879 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.6567, allocations: 19.52 kB / 0.7879 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.6568, allocations: 20.34 kB / 0.7879 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.6568, allocations: 3.531 kB / 0.7879 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.6572, allocations: 114.9 kB / 0.788 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.6572, allocations: 8.688 kB / 0.788 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.6573, allocations: 21.2 kB / 0.7881 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.6575, allocations: 78.62 kB / 0.7881 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6575, allocations: 4.328 kB / 0.7881 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6575, allocations: 0 / 0.7881 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.6575, allocations: 0 / 0.7881 GB, free: 45.93 MB / 0.6544 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.0004261/0.658, allocations: 351.8 kB / 0.7885 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.658, allocations: 11.72 kB / 0.7885 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.6583, allocations: 17.45 kB / 0.7885 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.917e-05/0.6584, allocations: 160.4 kB / 0.7886 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6584, allocations: 8.453 kB / 0.7887 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.6584, allocations: 9.906 kB / 0.7887 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6586, allocations: 74.27 kB / 0.7887 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.6586, allocations: 0 / 0.7887 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6586, allocations: 2.875 kB / 0.7887 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6586, allocations: 0 / 0.7887 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.6587, allocations: 10.47 kB / 0.7887 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.6592, allocations: 477 kB / 0.7892 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.6593, allocations: 74.67 kB / 0.7893 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.6593, allocations: 21.86 kB / 0.7893 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.6593, allocations: 5.031 kB / 0.7893 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.6594, allocations: 40.52 kB / 0.7893 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.6594, allocations: 0 / 0.7893 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005584/0.6599, allocations: 297.6 kB / 0.7896 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.66, allocations: 107.9 kB / 0.7897 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.61e-05/0.66, allocations: 102.5 kB / 0.7898 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.6601, allocations: 28.36 kB / 0.7899 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.6601, allocations: 86.17 kB / 0.7899 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.6601, allocations: 34.84 kB / 0.79 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.6602, allocations: 30.53 kB / 0.79 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.6602, allocations: 314.8 kB / 0.7903 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.6602, allocations: 14.03 kB / 0.7903 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.6603, allocations: 52.33 kB / 0.7904 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.6604, allocations: 79.36 kB / 0.7904 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6604, allocations: 0 / 0.7904 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001169/0.6605, allocations: 103 kB / 0.7905 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6605, allocations: 7.281 kB / 0.7905 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.6605, allocations: 0 / 0.7905 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6606, allocations: 3.625 kB / 0.7905 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.6606, allocations: 20.5 kB / 0.7906 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6607, allocations: 6 kB / 0.7906 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.6607, allocations: 4.031 kB / 0.7906 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.6607, allocations: 4.781 kB / 0.7906 GB, free: 43.66 MB / 0.6544 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 5.699e-05/0.6608, allocations: 130.5 kB / 0.7907 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.6608, allocations: 3.281 kB / 0.7907 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.6609, allocations: 7.25 kB / 0.7907 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6609, allocations: 2.625 kB / 0.7907 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6609, allocations: 1 kB / 0.7907 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6609, allocations: 2.625 kB / 0.7907 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.6612, allocations: 181.6 kB / 0.7909 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6612, allocations: 2.625 kB / 0.7909 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.6613, allocations: 13.12 kB / 0.7909 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6613, allocations: 3.422 kB / 0.7909 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6613, allocations: 3.875 kB / 0.7909 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6613, allocations: 0 / 0.7909 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6613, allocations: 6.438 kB / 0.7909 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.6615, allocations: 330.8 kB / 0.7912 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.6616, allocations: 84.3 kB / 0.7913 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.6616, allocations: 2.625 kB / 0.7913 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.6617, allocations: 6 kB / 0.7913 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.6618, allocations: 11.27 kB / 0.7913 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.6618, allocations: 2.625 kB / 0.7913 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.6618, allocations: 84.03 kB / 0.7914 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6618, allocations: 1.312 kB / 0.7914 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003031/0.6621, allocations: 14.44 kB / 0.7914 GB, free: 42.89 MB / 0.6544 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.0001232/0.6623, allocations: 112.8 kB / 0.7915 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.6624, allocations: 47.8 kB / 0.7916 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6624, allocations: 0 / 0.7916 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.6624, allocations: 19.64 kB / 0.7916 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.6629, allocations: 6.625 kB / 0.7916 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.6635, allocations: 374.2 kB / 0.792 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.6636, allocations: 0.6842 MB / 0.7926 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.6636, allocations: 12 kB / 0.7926 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.6637, allocations: 0 / 0.7926 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.002173/0.6658, allocations: 0.7839 MB / 0.7934 GB, free: 41.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)