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.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 197.3 kB / 16.53 MB, free: 6.391 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.53/1.53, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.71/1.71, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001588/0.001588, allocations: 68.41 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.288, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002849/0.2909, allocations: 1.26 MB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003083/0.294, allocations: 2.501 MB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.2941, allocations: 0 / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2941, allocations: 0 / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.634e-05/0.2942, allocations: 7.922 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.2948, allocations: 127.4 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.2949, allocations: 35.86 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.2949, allocations: 3.938 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.295, allocations: 27.97 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.2951, allocations: 15.92 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.2951, allocations: 4 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.2954, allocations: 111.8 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2954, allocations: 7.984 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.2955, allocations: 19.92 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.2957, allocations: 84 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2957, allocations: 4 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2957, allocations: 0 / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2957, allocations: 0 / 0.7875 GB, free: 9.246 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.0004629/0.2962, allocations: 355.5 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2962, allocations: 11.97 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.2964, allocations: 16.84 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2966, allocations: 164.4 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2966, allocations: 4.375 kB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.2966, allocations: 8.375 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.2968, allocations: 76.31 kB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2968, allocations: 0 / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2968, allocations: 4 kB / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2968, allocations: 4 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.2969, allocations: 4 kB / 0.7881 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.2975, allocations: 474.8 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.2976, allocations: 71.72 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.2976, allocations: 22.64 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.2977, allocations: 3.984 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2977, allocations: 42.64 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2977, allocations: 0 / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005946/0.2983, allocations: 302.2 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.2984, allocations: 106.8 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.2984, allocations: 102.1 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2985, allocations: 33.7 kB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.2985, allocations: 84.05 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2985, allocations: 31.55 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.2986, allocations: 25.72 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.2987, allocations: 318.8 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.2987, allocations: 12 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.2988, allocations: 57.14 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.2988, allocations: 69.08 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2988, allocations: 0 / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.299, allocations: 97.55 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.299, allocations: 11.88 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.299, allocations: 11.92 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.299, allocations: 0 / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.2991, allocations: 20 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2991, allocations: 7.984 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.2992, allocations: 3.906 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2992, allocations: 4 kB / 0.7899 GB, free: 6.375 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 8.358e-05/0.2993, allocations: 126.5 kB / 0.79 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.2993, allocations: 4 kB / 0.79 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.2994, allocations: 7.562 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2994, allocations: 4.609 kB / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2994, allocations: 0 / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2994, allocations: 0 / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.2997, allocations: 177.6 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2998, allocations: 8.062 kB / 0.7902 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.2999, allocations: 15.98 kB / 0.7902 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2999, allocations: 0 / 0.7902 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2999, allocations: 8 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2999, allocations: 0 / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2999, allocations: 0 / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.3001, allocations: 341.8 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.3002, allocations: 81.11 kB / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3002, allocations: 4.031 kB / 0.7907 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.3004, allocations: 8 kB / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.3004, allocations: 0 / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3004, allocations: 11.94 kB / 0.7907 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.3005, allocations: 83.27 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3005, allocations: 0 / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003048/0.3008, allocations: 12 kB / 0.7908 GB, free: 5.402 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.0001495/0.3009, allocations: 111.2 kB / 0.7909 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3011, allocations: 43.92 kB / 0.7909 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3011, allocations: 0 / 0.7909 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.3011, allocations: 23.92 kB / 0.7909 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3016, allocations: 8.219 kB / 0.7909 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.3022, allocations: 351.6 kB / 0.7913 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3025, allocations: 0.6807 MB / 0.7919 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.53e-05/0.3025, allocations: 15.92 kB / 0.792 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.3026, allocations: 11.44 kB / 0.792 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3026, allocations: 0 / 0.792 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of Templates: time 0.003098/0.3057, allocations: 0.6433 MB / 0.7926 GB, free: 3.492 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)