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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009532/0.0009534, allocations: 174.8 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007545/0.0007544, allocations: 92.67 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003044, allocations: 11.44 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1664, allocations: 105.4 MB / 0.8967 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001104/0.1675, allocations: 0.9969 MB / 0.8977 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1698, allocations: 2.513 MB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.1698, allocations: 0 / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.1698, allocations: 4 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.1699, allocations: 3.938 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.1703, allocations: 111.5 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.1704, allocations: 39.91 kB / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.1704, allocations: 7.922 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.1705, allocations: 19.94 kB / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.1705, allocations: 11.92 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1705, allocations: 8 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.1708, allocations: 111.8 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1708, allocations: 8 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.1708, allocations: 19.91 kB / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.1709, allocations: 60.09 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1709, allocations: 0 / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.273e-06/0.171, allocations: 3.938 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.171, allocations: 0 / 0.9006 GB, free: 64.2 MB / 0.6042 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.0002765/0.1712, allocations: 343.5 kB / 0.9009 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1713, allocations: 16.03 kB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.1715, allocations: 16.91 kB / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.061e-05/0.1716, allocations: 160.4 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1716, allocations: 4.375 kB / 0.9011 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1716, allocations: 8.375 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1717, allocations: 68.38 kB / 0.9012 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1717, allocations: 3.938 kB / 0.9012 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1717, allocations: 8 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1718, allocations: 7.938 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.1718, allocations: 7.984 kB / 0.9012 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1722, allocations: 470.8 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1723, allocations: 75.66 kB / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.1724, allocations: 22.7 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.1724, allocations: 0 / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.1724, allocations: 38.56 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1724, allocations: 0 / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004998/0.1729, allocations: 306.2 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.1729, allocations: 106.8 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.341e-05/0.173, allocations: 102.2 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.173, allocations: 29.95 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.173, allocations: 88.05 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.1731, allocations: 27.64 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1731, allocations: 17.72 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.1731, allocations: 318.8 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.1732, allocations: 11.98 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.1732, allocations: 53.14 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.1733, allocations: 73.27 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1733, allocations: 4 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001051/0.1734, allocations: 97.45 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1734, allocations: 8.125 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1734, allocations: 4 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1734, allocations: 0 / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.1735, allocations: 23.92 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1735, allocations: 4 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.1735, allocations: 0 / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1736, allocations: 4 kB / 0.903 GB, free: 61.36 MB / 0.6042 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.018e-05/0.1736, allocations: 121.7 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.1737, allocations: 4 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.1737, allocations: 19.48 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1737, allocations: 7.938 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1737, allocations: 0 / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1737, allocations: 0 / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.174, allocations: 181.6 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.174, allocations: 4 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.1741, allocations: 12.06 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1741, allocations: 7.984 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1741, allocations: 4 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1741, allocations: 0 / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1741, allocations: 4 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1743, allocations: 329.9 kB / 0.9036 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.1743, allocations: 85.14 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1743, allocations: 0 / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1745, allocations: 8 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1745, allocations: 7.984 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1745, allocations: 7.938 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.813e-05/0.1746, allocations: 79.28 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1746, allocations: 0 / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002806/0.1749, allocations: 12 kB / 0.9038 GB, free: 60.38 MB / 0.6042 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.0001024/0.175, allocations: 112 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.787e-05/0.1751, allocations: 52.28 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1751, allocations: 0 / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.1751, allocations: 19.94 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1755, allocations: 8 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.176, allocations: 371.7 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.879e-05/0.1761, allocations: 0.6926 MB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1761, allocations: 11.44 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.1761, allocations: 0 / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.001666/0.1778, allocations: 0.778 MB / 0.9058 GB, free: 58.28 MB / 0.6042 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)