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.0007931/0.0007931, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004934/0.004934, allocations: 170 kB / 16.26 MB, free: 6.613 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.434/1.434, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.669/1.669, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0005393/0.0005394, allocations: 12.12 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2587, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001537/0.2603, allocations: 0.9897 MB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003232/0.2635, allocations: 2.474 MB / 0.7913 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.2636, allocations: 0 / 0.7913 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.2636, allocations: 0 / 0.7913 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.2637, allocations: 7.922 kB / 0.7913 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.2643, allocations: 123.5 kB / 0.7914 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.2644, allocations: 39.84 kB / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.2645, allocations: 0 / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.2645, allocations: 19.98 kB / 0.7914 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.2646, allocations: 15.92 kB / 0.7915 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2646, allocations: 4 kB / 0.7915 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.2649, allocations: 115.7 kB / 0.7916 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.265, allocations: 11.98 kB / 0.7916 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.265, allocations: 37.64 kB / 0.7916 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2652, allocations: 88.05 kB / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2652, allocations: 0 / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2652, allocations: 0 / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2652, allocations: 0 / 0.7917 GB, free: 7.645 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.0003761/0.2656, allocations: 343.5 kB / 0.792 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2657, allocations: 8.031 kB / 0.792 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.2659, allocations: 24.78 kB / 0.7921 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.266, allocations: 168.4 kB / 0.7922 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.266, allocations: 384 / 0.7922 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2661, allocations: 4.375 kB / 0.7922 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.2662, allocations: 72.33 kB / 0.7923 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2662, allocations: 0 / 0.7923 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2663, allocations: 4 kB / 0.7923 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2663, allocations: 0 / 0.7923 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.2663, allocations: 19.92 kB / 0.7923 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.2669, allocations: 470.8 kB / 0.7928 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2671, allocations: 75.59 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.2671, allocations: 22.7 kB / 0.7929 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.2671, allocations: 4 kB / 0.7929 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2671, allocations: 34.5 kB / 0.7929 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2671, allocations: 0 / 0.7929 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006178/0.2678, allocations: 314.5 kB / 0.7932 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.2678, allocations: 102.8 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.2679, allocations: 97.84 kB / 0.7934 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2679, allocations: 29.7 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.268, allocations: 88.05 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.268, allocations: 31.53 kB / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.268, allocations: 17.97 kB / 0.7935 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2681, allocations: 326.8 kB / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.2682, allocations: 11.98 kB / 0.7939 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.2682, allocations: 53.14 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.2683, allocations: 73.03 kB / 0.794 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2683, allocations: 0 / 0.794 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001298/0.2685, allocations: 89.55 kB / 0.7941 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2685, allocations: 8 kB / 0.7941 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2685, allocations: 3.984 kB / 0.7941 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2685, allocations: 7.938 kB / 0.7941 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.2686, allocations: 24.12 kB / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2686, allocations: 0 / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.2687, allocations: 4 kB / 0.7941 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2687, allocations: 7.938 kB / 0.7941 GB, free: 4.793 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 7.382e-05/0.2688, allocations: 121.8 kB / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.2688, allocations: 3.969 kB / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.2689, allocations: 15.56 kB / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2689, allocations: 0 / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2689, allocations: 0 / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2689, allocations: 8 kB / 0.7943 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.2692, allocations: 177.6 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2692, allocations: 0 / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.2693, allocations: 15.98 kB / 0.7945 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2693, allocations: 4 kB / 0.7945 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2693, allocations: 0 / 0.7945 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2694, allocations: 3.938 kB / 0.7945 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2694, allocations: 4 kB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2696, allocations: 329.9 kB / 0.7948 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.2697, allocations: 81.11 kB / 0.7949 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2697, allocations: 7.938 kB / 0.7949 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2699, allocations: 4.031 kB / 0.7949 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.2699, allocations: 8.422 kB / 0.7949 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2699, allocations: 7.938 kB / 0.7949 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.232e-05/0.2699, allocations: 83.2 kB / 0.795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.27, allocations: 4 kB / 0.795 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003241/0.2703, allocations: 16 kB / 0.795 GB, free: 3.816 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.0001381/0.2704, allocations: 107.2 kB / 0.7951 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.2705, allocations: 43.92 kB / 0.7951 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2706, allocations: 0 / 0.7951 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.2706, allocations: 24.25 kB / 0.7952 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.271, allocations: 10.09 kB / 0.7952 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.2717, allocations: 408.4 kB / 0.7956 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2719, allocations: 0.6848 MB / 0.7962 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.647e-05/0.272, allocations: 7.984 kB / 0.7962 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.272, allocations: 11.44 kB / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.272, allocations: 0 / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.002583/0.2746, allocations: 0.6203 MB / 0.7968 GB, free: 1.879 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: