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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002827/0.002827, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.17/1.17, allocations: 205.1 MB / 222 MB, free: 4.762 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.446/1.446, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001223/0.001223, allocations: 71.08 kB / 0.6709 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1647, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001922/0.1666, allocations: 1.325 MB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1691, allocations: 2.501 MB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.379e-05/0.1691, allocations: 0 / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.1691, allocations: 3.938 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.1692, allocations: 0 / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1696, allocations: 119.5 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.1696, allocations: 43.84 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.328e-05/0.1696, allocations: 0 / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.1697, allocations: 23.92 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.1697, allocations: 11.98 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1698, allocations: 4 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.17, allocations: 115.7 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.17, allocations: 3.938 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.1701, allocations: 23.91 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1702, allocations: 80.12 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1702, allocations: 3.938 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.62e-07/0.1702, allocations: 4 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1703, allocations: 0 / 0.787 GB, free: 9.613 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.000319/0.1706, allocations: 351.4 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1706, allocations: 12.03 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.1707, allocations: 34.75 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.1708, allocations: 12.92 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.1709, allocations: 164.4 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.171, allocations: 4.375 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.171, allocations: 12.31 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1711, allocations: 72.19 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1711, allocations: 3.984 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1711, allocations: 8 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1711, allocations: 0 / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.1712, allocations: 7.938 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.1717, allocations: 470.8 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1718, allocations: 75.66 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.1718, allocations: 26.78 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.1719, allocations: 0 / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1719, allocations: 42.5 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1719, allocations: 0 / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004939/0.1724, allocations: 294.4 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.1725, allocations: 110.8 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.1725, allocations: 97.86 kB / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1726, allocations: 29.7 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1726, allocations: 91.98 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.1726, allocations: 35.53 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1727, allocations: 21.72 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.1727, allocations: 322.8 kB / 0.7891 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.1728, allocations: 19.94 kB / 0.7892 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.1728, allocations: 57.02 kB / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.157e-05/0.1729, allocations: 73.08 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1729, allocations: 4 kB / 0.7893 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001165/0.173, allocations: 94.06 kB / 0.7894 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.173, allocations: 4 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1731, allocations: 4 kB / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.1731, allocations: 0 / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.1731, allocations: 19.98 kB / 0.7894 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1732, allocations: 7.938 kB / 0.7894 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.1732, allocations: 8.125 kB / 0.7894 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1732, allocations: 11.94 kB / 0.7894 GB, free: 6.691 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 6.013e-05/0.1733, allocations: 114.5 kB / 0.7895 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.1733, allocations: 7.984 kB / 0.7896 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.1734, allocations: 7.562 kB / 0.7896 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1734, allocations: 4 kB / 0.7896 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1734, allocations: 0 / 0.7896 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1734, allocations: 0 / 0.7896 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1737, allocations: 173.6 kB / 0.7897 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1737, allocations: 8 kB / 0.7897 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.1738, allocations: 19.92 kB / 0.7898 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1738, allocations: 0 / 0.7898 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1738, allocations: 8 kB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1738, allocations: 0 / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1738, allocations: 4.062 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.174, allocations: 333.9 kB / 0.7901 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.174, allocations: 85.14 kB / 0.7902 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1741, allocations: 0 / 0.7902 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1742, allocations: 8 kB / 0.7902 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.1742, allocations: 11.88 kB / 0.7902 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1743, allocations: 7.922 kB / 0.7902 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.1743, allocations: 79.28 kB / 0.7903 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1743, allocations: 0 / 0.7903 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002805/0.1746, allocations: 16 kB / 0.7903 GB, free: 5.723 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.0003731/0.175, allocations: 0.8632 MB / 0.7911 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.585e-05/0.175, allocations: 47.97 kB / 0.7912 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1751, allocations: 0 / 0.7912 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.1751, allocations: 23.92 kB / 0.7912 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1755, allocations: 11.94 kB / 0.7912 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1767, allocations: 1.702 MB / 0.7929 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.1769, allocations: 0.6809 MB / 0.7935 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.177, allocations: 8 kB / 0.7935 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.177, allocations: 15.42 kB / 0.7936 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.177, allocations: 3.938 kB / 0.7936 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06562/0.2426, allocations: 1.549 MB / 0.7951 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.2429, allocations: 243.4 kB / 0.7953 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.882, allocations: 0 / 0.7953 GB, free: 0.5742 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)