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.001218/0.001218, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001246/0.001246, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.198/1.198, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 285.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8638/0.8638, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 95.59 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1479, allocations: 86.97 MB / 0.6808 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002185/0.1501, allocations: 1.274 MB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1528, allocations: 2.473 MB / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.1528, allocations: 0 / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.1529, allocations: 7.922 kB / 0.6845 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.1529, allocations: 7.922 kB / 0.6845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.1534, allocations: 131.4 kB / 0.6846 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.1535, allocations: 39.84 kB / 0.6847 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.1535, allocations: 4 kB / 0.6847 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.1536, allocations: 15.98 kB / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.1536, allocations: 19.91 kB / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1536, allocations: 4 kB / 0.6847 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.1539, allocations: 115.8 kB / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.1539, allocations: 15.97 kB / 0.6848 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.154, allocations: 11.94 kB / 0.6848 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1542, allocations: 84.06 kB / 0.6849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1542, allocations: 0 / 0.6849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1542, allocations: 3.938 kB / 0.6849 GB, free: 3.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1542, allocations: 0 / 0.6849 GB, free: 3.977 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.0003399/0.1545, allocations: 351.5 kB / 0.6853 GB, free: 3.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1546, allocations: 8.031 kB / 0.6853 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.1548, allocations: 16.92 kB / 0.6853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.1549, allocations: 168.3 kB / 0.6855 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1549, allocations: 8.312 kB / 0.6855 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1549, allocations: 8.375 kB / 0.6855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.155, allocations: 68.38 kB / 0.6855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1551, allocations: 0 / 0.6855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1551, allocations: 4 kB / 0.6855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1551, allocations: 4 kB / 0.6855 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.1551, allocations: 11.94 kB / 0.6856 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.1556, allocations: 462.9 kB / 0.686 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1558, allocations: 75.72 kB / 0.6861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.1558, allocations: 26.72 kB / 0.6861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.1558, allocations: 7.875 kB / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.1558, allocations: 34.56 kB / 0.6861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1558, allocations: 0 / 0.6861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005417/0.1564, allocations: 314 kB / 0.6864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1565, allocations: 102.8 kB / 0.6865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/0.1565, allocations: 97.86 kB / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1565, allocations: 29.7 kB / 0.6867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.1566, allocations: 88.03 kB / 0.6867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1566, allocations: 23.91 kB / 0.6868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1566, allocations: 37.61 kB / 0.6868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.1567, allocations: 318.8 kB / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.1568, allocations: 11.98 kB / 0.6871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.1568, allocations: 53.09 kB / 0.6872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.1569, allocations: 73.08 kB / 0.6872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1569, allocations: 0 / 0.6872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001202/0.157, allocations: 93.55 kB / 0.6873 GB, free: 1.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.157, allocations: 6.344 kB / 0.6873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1571, allocations: 128 / 0.6873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1571, allocations: 8 kB / 0.6873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.1572, allocations: 23.98 kB / 0.6874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1572, allocations: 7.938 kB / 0.6874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.1572, allocations: 0 / 0.6874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1572, allocations: 4 kB / 0.6874 GB, free: 1.121 MB / 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 6.77e-05/0.1573, allocations: 117.8 kB / 0.6875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.1574, allocations: 7.969 kB / 0.6875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.1574, allocations: 11.56 kB / 0.6875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1574, allocations: 11.94 kB / 0.6875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1574, allocations: 0 / 0.6875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1574, allocations: 3.984 kB / 0.6875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.1577, allocations: 185.5 kB / 0.6877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1577, allocations: 0 / 0.6877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.1578, allocations: 19.94 kB / 0.6877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1578, allocations: 0 / 0.6877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1578, allocations: 4.609 kB / 0.6877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1579, allocations: 0 / 0.6877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1579, allocations: 0 / 0.6877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.1581, allocations: 330 kB / 0.688 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1581, allocations: 89.05 kB / 0.6881 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1581, allocations: 0 / 0.6881 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1583, allocations: 4 kB / 0.6881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.1583, allocations: 12.02 kB / 0.6881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.1584, allocations: 11.92 kB / 0.6881 GB, free: 236 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.1584, allocations: 83.28 kB / 0.6882 GB, free: 152 kB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1584, allocations: 0 / 0.6882 GB, free: 152 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1587, allocations: 12 kB / 0.6882 GB, free: 140 kB / 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.0001223/0.1588, allocations: 106.2 kB / 0.6883 GB, free: 24 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2079/0.3668, allocations: 41.83 kB / 0.6884 GB, free: 18.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.3668, allocations: 2.688 kB / 0.6884 GB, free: 18.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.3668, allocations: 20.48 kB / 0.6884 GB, free: 18.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.3674, allocations: 11.31 kB / 0.6884 GB, free: 18.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.3679, allocations: 372.3 kB / 0.6888 GB, free: 18.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.368, allocations: 0.685 MB / 0.6894 GB, free: 17.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.3681, allocations: 11.91 kB / 0.6894 GB, free: 17.41 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3681, allocations: 0 / 0.6894 GB, free: 17.41 MB / 494.1 MB Notification: Performance of Templates: time 0.002065/0.3702, allocations: 0.7832 MB / 0.6902 GB, free: 17.37 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)