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.001043/0.001043, allocations: 109 kB / 15.99 MB, free: 6.355 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.001068/0.001068, allocations: 192.3 kB / 16.91 MB, free: 6.188 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.423/1.423, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.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.663/1.663, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001635/0.001635, allocations: 63.95 kB / 0.6717 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2579, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003068/0.2611, allocations: 1.332 MB / 0.7848 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003778/0.2649, allocations: 2.486 MB / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.265, allocations: 4 kB / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.265, allocations: 0 / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.2652, allocations: 7.938 kB / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.2659, allocations: 123.5 kB / 0.7874 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.266, allocations: 27.92 kB / 0.7874 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.2661, allocations: 7.984 kB / 0.7874 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.2661, allocations: 19.92 kB / 0.7874 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.2662, allocations: 19.92 kB / 0.7874 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2662, allocations: 0 / 0.7874 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.2666, allocations: 119.8 kB / 0.7876 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.2666, allocations: 4 kB / 0.7876 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.2667, allocations: 23.91 kB / 0.7876 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.2669, allocations: 56.09 kB / 0.7876 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.2669, allocations: 0 / 0.7876 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2669, allocations: 3.938 kB / 0.7876 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.026e-06/0.2669, allocations: 0 / 0.7876 GB, free: 9.648 MB / 0.6075 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.0005711/0.2675, allocations: 359.5 kB / 0.788 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.2675, allocations: 8.031 kB / 0.788 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.2678, allocations: 16.78 kB / 0.788 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.268, allocations: 168.4 kB / 0.7882 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.268, allocations: 384 / 0.7882 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.268, allocations: 8.375 kB / 0.7882 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2682, allocations: 64.39 kB / 0.7882 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2682, allocations: 3.938 kB / 0.7882 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2683, allocations: 12 kB / 0.7883 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2683, allocations: 0 / 0.7883 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.2683, allocations: 11.97 kB / 0.7883 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.269, allocations: 474.8 kB / 0.7887 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.2692, allocations: 75.66 kB / 0.7888 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.2692, allocations: 26.7 kB / 0.7888 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2692, allocations: 0 / 0.7888 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.2693, allocations: 38.56 kB / 0.7889 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2693, allocations: 0 / 0.7889 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006984/0.27, allocations: 302.2 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.2701, allocations: 106.8 kB / 0.7892 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.2702, allocations: 101.8 kB / 0.7893 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2702, allocations: 29.7 kB / 0.7894 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.2703, allocations: 88.3 kB / 0.7895 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.2703, allocations: 31.55 kB / 0.7895 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.2704, allocations: 25.72 kB / 0.7895 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2705, allocations: 326.7 kB / 0.7898 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.2705, allocations: 8 kB / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.2706, allocations: 53.14 kB / 0.7899 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.75e-05/0.2707, allocations: 73.08 kB / 0.7899 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2707, allocations: 4 kB / 0.7899 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001364/0.2708, allocations: 85.66 kB / 0.79 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2709, allocations: 12.02 kB / 0.79 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2709, allocations: 4.609 kB / 0.79 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2709, allocations: 0 / 0.79 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.271, allocations: 23.94 kB / 0.7901 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.271, allocations: 4 kB / 0.7901 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.271, allocations: 3.906 kB / 0.7901 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2711, allocations: 4 kB / 0.7901 GB, free: 6.785 MB / 0.6075 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.145e-05/0.2712, allocations: 126.4 kB / 0.7902 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.2712, allocations: 4 kB / 0.7902 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.2713, allocations: 11.56 kB / 0.7902 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2713, allocations: 7.984 kB / 0.7902 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2713, allocations: 0 / 0.7902 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.2713, allocations: 0 / 0.7902 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.2716, allocations: 185.6 kB / 0.7904 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2717, allocations: 7.938 kB / 0.7904 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.2718, allocations: 15.98 kB / 0.7904 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2718, allocations: 0 / 0.7904 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2718, allocations: 4 kB / 0.7904 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2718, allocations: 0 / 0.7904 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2718, allocations: 4 kB / 0.7904 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.2721, allocations: 333.9 kB / 0.7907 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.2722, allocations: 81.11 kB / 0.7908 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2722, allocations: 0 / 0.7908 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.2724, allocations: 8.031 kB / 0.7908 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.2724, allocations: 11.94 kB / 0.7908 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2724, allocations: 7.938 kB / 0.7909 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.2724, allocations: 79.28 kB / 0.7909 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2724, allocations: 0 / 0.7909 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003096/0.2728, allocations: 12 kB / 0.7909 GB, free: 5.805 MB / 0.6075 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.0001647/0.2729, allocations: 107.2 kB / 0.791 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.2731, allocations: 51.86 kB / 0.7911 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2731, allocations: 0 / 0.7911 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.2731, allocations: 23.92 kB / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.2736, allocations: 10.84 kB / 0.7911 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.2743, allocations: 382.2 kB / 0.7915 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2746, allocations: 0.6846 MB / 0.7922 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.2747, allocations: 11.44 kB / 0.7922 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2747, allocations: 0 / 0.7922 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.002464/0.2771, allocations: 0.7833 MB / 0.7929 GB, free: 3.691 MB / 0.6075 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)