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.001284/0.001284, allocations: 100.8 kB / 15.05 MB, free: 1.105 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.001695/0.001695, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.636/1.636, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005573/0.0005574, allocations: 10.78 kB / 0.6735 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3232, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001407/0.3246, allocations: 0.9726 MB / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3273, allocations: 1.877 MB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.3273, allocations: 0 / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.3273, allocations: 7.922 kB / 0.7899 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.3274, allocations: 7.984 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.328, allocations: 107.7 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.328, allocations: 27.89 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.386e-05/0.3281, allocations: 4 kB / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3282, allocations: 19.92 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.3283, allocations: 19.91 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3283, allocations: 0 / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003551/0.3287, allocations: 107.9 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3287, allocations: 11.98 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.3287, allocations: 33.64 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3289, allocations: 52.09 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3289, allocations: 4 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.716e-06/0.3289, allocations: 0 / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3289, allocations: 0 / 0.7903 GB, free: 8.707 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.0005307/0.3295, allocations: 335.4 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3295, allocations: 8.031 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.3298, allocations: 23.84 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.33, allocations: 163.1 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.33, allocations: 0 / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.33, allocations: 8 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3302, allocations: 72.19 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3302, allocations: 0 / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3303, allocations: 0 / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3303, allocations: 8 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.749e-05/0.3303, allocations: 7.984 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.331, allocations: 470.8 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3312, allocations: 79.64 kB / 0.7914 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3312, allocations: 0 / 0.7914 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3313, allocations: 38.69 kB / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.3313, allocations: 0 / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000688/0.3319, allocations: 310.2 kB / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.332, allocations: 106.8 kB / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.3321, allocations: 97.84 kB / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3321, allocations: 29.7 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.3322, allocations: 92.03 kB / 0.792 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.3322, allocations: 27.56 kB / 0.7921 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.3323, allocations: 256 / 0.7921 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3324, allocations: 326.8 kB / 0.7924 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.3324, allocations: 12 kB / 0.7924 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.3325, allocations: 53.08 kB / 0.7924 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.3325, allocations: 24 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3325, allocations: 0 / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001305/0.3327, allocations: 89.55 kB / 0.7926 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3327, allocations: 4 kB / 0.7926 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3327, allocations: 7.984 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3327, allocations: 3.953 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.3328, allocations: 23.92 kB / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3328, allocations: 7.938 kB / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.3329, allocations: 4.125 kB / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3329, allocations: 8 kB / 0.7926 GB, free: 5.984 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.701e-05/0.333, allocations: 117.8 kB / 0.7927 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.333, allocations: 7.969 kB / 0.7927 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.3331, allocations: 15.55 kB / 0.7927 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3331, allocations: 7.953 kB / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3331, allocations: 0 / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3331, allocations: 0 / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.3334, allocations: 173.7 kB / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3335, allocations: 4.609 kB / 0.7929 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.118e-05/0.3335, allocations: 16 kB / 0.7929 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3336, allocations: 0 / 0.7929 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3336, allocations: 7.984 kB / 0.7929 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3336, allocations: 0 / 0.7929 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3336, allocations: 3.953 kB / 0.793 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3339, allocations: 349.5 kB / 0.7933 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.334, allocations: 89.14 kB / 0.7934 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.334, allocations: 3.953 kB / 0.7934 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.3342, allocations: 11.98 kB / 0.7934 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.3342, allocations: 7.922 kB / 0.7934 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3342, allocations: 4 kB / 0.7934 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.3343, allocations: 79.28 kB / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3343, allocations: 0 / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003014/0.3346, allocations: 16 kB / 0.7935 GB, free: 4.977 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/0.3347, allocations: 107.2 kB / 0.7936 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.3349, allocations: 43.86 kB / 0.7936 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3349, allocations: 0 / 0.7936 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.382e-05/0.3349, allocations: 20.25 kB / 0.7936 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3352, allocations: 8.062 kB / 0.7937 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.3358, allocations: 404.5 kB / 0.794 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3361, allocations: 0.6894 MB / 0.7947 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.121e-05/0.3361, allocations: 4 kB / 0.7947 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3361, allocations: 11.44 kB / 0.7947 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.3361, allocations: 0 / 0.7947 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of Templates: time 0.00297/0.3391, allocations: 0.5956 MB / 0.7953 GB, free: 3.07 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: