Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001081/0.001081, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.0009854/0.0009854, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 281.5 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9072/0.9072, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 94.22 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 86.97 MB / 0.6816 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002064/0.1484, allocations: 1.262 MB / 0.6828 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.1509, allocations: 2.488 MB / 0.6853 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.151, allocations: 3.938 kB / 0.6853 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.151, allocations: 0 / 0.6853 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.1511, allocations: 7.922 kB / 0.6853 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.1515, allocations: 127.4 kB / 0.6854 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.1516, allocations: 35.86 kB / 0.6854 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.1516, allocations: 8 kB / 0.6854 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.1517, allocations: 11.98 kB / 0.6855 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.1517, allocations: 23.91 kB / 0.6855 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1517, allocations: 4 kB / 0.6855 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.152, allocations: 115.8 kB / 0.6856 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.152, allocations: 7.938 kB / 0.6856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.1521, allocations: 15.92 kB / 0.6856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1522, allocations: 87.77 kB / 0.6857 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1523, allocations: 4 kB / 0.6857 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1523, allocations: 0 / 0.6857 GB, free: 3.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1523, allocations: 0 / 0.6857 GB, free: 3.281 MB / 494.1 MB 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.0003565/0.1526, allocations: 351.5 kB / 0.686 GB, free: 2.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1527, allocations: 8.031 kB / 0.686 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.1529, allocations: 16.92 kB / 0.6861 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.195e-05/0.153, allocations: 164.3 kB / 0.6862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.153, allocations: 8.312 kB / 0.6862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.153, allocations: 8.375 kB / 0.6862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1532, allocations: 80.3 kB / 0.6863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1532, allocations: 0 / 0.6863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1532, allocations: 4 kB / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1532, allocations: 4 kB / 0.6863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.1532, allocations: 7.984 kB / 0.6863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.1538, allocations: 470.9 kB / 0.6868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1539, allocations: 71.81 kB / 0.6868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.1539, allocations: 30.56 kB / 0.6869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.154, allocations: 0 / 0.6869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.154, allocations: 42.5 kB / 0.6869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.154, allocations: 0 / 0.6869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005343/0.1545, allocations: 306.1 kB / 0.6872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.1546, allocations: 102.8 kB / 0.6873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.1546, allocations: 106.1 kB / 0.6874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1547, allocations: 25.7 kB / 0.6874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1547, allocations: 88.05 kB / 0.6875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.1547, allocations: 27.64 kB / 0.6875 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1548, allocations: 33.61 kB / 0.6876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.1549, allocations: 314.8 kB / 0.6879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.1549, allocations: 15.98 kB / 0.6879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.155, allocations: 57.14 kB / 0.6879 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.468e-05/0.155, allocations: 69.03 kB / 0.688 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.155, allocations: 4.062 kB / 0.688 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001246/0.1552, allocations: 97.55 kB / 0.6881 GB, free: 468 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1552, allocations: 6.812 kB / 0.6881 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1552, allocations: 0 / 0.6881 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1552, allocations: 4 kB / 0.6881 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.1553, allocations: 27.92 kB / 0.6881 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1553, allocations: 4 kB / 0.6881 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.1554, allocations: 0 / 0.6881 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1554, allocations: 4 kB / 0.6881 GB, free: 424 kB / 494.1 MB 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.143e-05/0.1554, allocations: 125.8 kB / 0.6883 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.1555, allocations: 7.906 kB / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.1555, allocations: 11.55 kB / 0.6883 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1556, allocations: 4.609 kB / 0.6883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1556, allocations: 0 / 0.6883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1556, allocations: 0 / 0.6883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1559, allocations: 177.6 kB / 0.6885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1559, allocations: 0 / 0.6885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/0.156, allocations: 16 kB / 0.6885 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.156, allocations: 3.984 kB / 0.6885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.156, allocations: 4 kB / 0.6885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.156, allocations: 4 kB / 0.6885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.156, allocations: 3.984 kB / 0.6885 GB, free: 0 / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2846/0.4406, allocations: 320.8 kB / 0.6888 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.4408, allocations: 86.69 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4408, allocations: 2.641 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.441, allocations: 11.55 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.441, allocations: 8 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4411, allocations: 3.531 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.788e-05/0.4411, allocations: 83.19 kB / 0.689 GB, free: 17.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4411, allocations: 0.5 kB / 0.689 GB, free: 17.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000416/0.4415, allocations: 10.41 kB / 0.689 GB, free: 17.88 MB / 494.1 MB 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.0001938/0.4417, allocations: 115.2 kB / 0.6891 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.4419, allocations: 43.83 kB / 0.6891 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.442, allocations: 0.7812 kB / 0.6891 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.442, allocations: 23.47 kB / 0.6892 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.4425, allocations: 8.859 kB / 0.6892 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.4434, allocations: 341.5 kB / 0.6895 GB, free: 17.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.4436, allocations: 0.6855 MB / 0.6902 GB, free: 16.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.15e-05/0.4437, allocations: 13.61 kB / 0.6902 GB, free: 16.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.4437, allocations: 10.75 kB / 0.6902 GB, free: 16.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4437, allocations: 0 / 0.6902 GB, free: 16.91 MB / 494.1 MB Notification: Performance of Templates: time 0.003667/0.4474, allocations: 0.6382 MB / 0.6908 GB, free: 16.88 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)