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.001238/0.001238, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.000993/0.000993, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.197/1.197, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.469/1.469, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001244/0.001245, allocations: 64.97 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002046/0.167, allocations: 1.34 MB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1695, allocations: 2.486 MB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.1695, allocations: 0 / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.1695, allocations: 0 / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.1696, allocations: 3.938 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.1701, allocations: 111.5 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.1701, allocations: 47.84 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.1702, allocations: 7.984 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.1702, allocations: 16 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.1703, allocations: 15.91 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.1703, allocations: 7.938 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.1705, allocations: 115.7 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1705, allocations: 11.98 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1706, allocations: 19.92 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1707, allocations: 80.06 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1708, allocations: 0 / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1708, allocations: 4 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.1708, allocations: 4 kB / 0.7871 GB, free: 9.543 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.0003192/0.1711, allocations: 351.4 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1711, allocations: 12.02 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1712, allocations: 34.75 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1714, allocations: 12.94 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.503e-05/0.1715, allocations: 164.4 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1715, allocations: 4.375 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1715, allocations: 12.31 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1716, allocations: 72.19 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1716, allocations: 0 / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1716, allocations: 0 / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1716, allocations: 4 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.1717, allocations: 11.94 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.1722, allocations: 474.8 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1723, allocations: 71.72 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.1723, allocations: 26.64 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-06/0.1723, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1724, allocations: 46.58 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1724, allocations: 0 / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005085/0.1729, allocations: 302.4 kB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1729, allocations: 106.9 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.173, allocations: 98.17 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.173, allocations: 29.7 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.1731, allocations: 88.05 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1731, allocations: 31.55 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.1731, allocations: 25.72 kB / 0.789 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.1732, allocations: 318.8 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.1732, allocations: 16 kB / 0.7893 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.1733, allocations: 61.02 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.1734, allocations: 81.19 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1734, allocations: 0 / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001185/0.1735, allocations: 93.55 kB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1735, allocations: 4 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1735, allocations: 0 / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1735, allocations: 4 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.1736, allocations: 19.94 kB / 0.7896 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1736, allocations: 7.938 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.1737, allocations: 16.02 kB / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1737, allocations: 7.938 kB / 0.7896 GB, free: 6.617 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.669e-05/0.1737, allocations: 113.8 kB / 0.7897 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1738, allocations: 4 kB / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.1738, allocations: 7.562 kB / 0.7897 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1738, allocations: 0 / 0.7897 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1739, allocations: 4 kB / 0.7897 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1739, allocations: 0 / 0.7897 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.1742, allocations: 181.6 kB / 0.7899 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1742, allocations: 4 kB / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.1742, allocations: 23.92 kB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1743, allocations: 0 / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1743, allocations: 0 / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1743, allocations: 4 kB / 0.7899 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1743, allocations: 0 / 0.7899 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1745, allocations: 329.9 kB / 0.7903 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.1745, allocations: 81.11 kB / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1745, allocations: 8.031 kB / 0.7903 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.1747, allocations: 0 / 0.7903 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.1747, allocations: 11.94 kB / 0.7904 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1747, allocations: 12 kB / 0.7904 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.1748, allocations: 83.27 kB / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1748, allocations: 0 / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002877/0.1751, allocations: 8 kB / 0.7904 GB, free: 5.66 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.0003749/0.1754, allocations: 0.8747 MB / 0.7913 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.766e-05/0.1756, allocations: 51.92 kB / 0.7914 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1756, allocations: 0 / 0.7914 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.1756, allocations: 15.94 kB / 0.7914 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.176, allocations: 26.7 kB / 0.7914 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1772, allocations: 1.696 MB / 0.7931 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.1774, allocations: 0.6807 MB / 0.7937 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.976e-05/0.1775, allocations: 15.88 kB / 0.7937 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.1775, allocations: 22.09 kB / 0.7938 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1775, allocations: 0 / 0.7938 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2197/0.3973, allocations: 1.588 MB / 0.7953 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.3976, allocations: 239.8 kB / 0.7955 GB, free: 480 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.069, allocations: 6.125 kB / 0.7955 GB, free: 476 kB / 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)