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: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.008824/0.008824, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.002267/0.002268, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002748/0.002748, allocations: 282.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 91.86 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.172, allocations: 86.96 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002224/0.1743, allocations: 1.274 MB / 0.7671 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.1774, allocations: 2.492 MB / 0.7696 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.1775, allocations: 0 / 0.7696 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.1775, allocations: 0 / 0.7696 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.1776, allocations: 11.92 kB / 0.7696 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.1781, allocations: 131.4 kB / 0.7697 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.257e-05/0.1782, allocations: 31.86 kB / 0.7697 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1782, allocations: 7.984 kB / 0.7697 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.1783, allocations: 15.94 kB / 0.7697 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.1783, allocations: 23.91 kB / 0.7698 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1783, allocations: 0 / 0.7698 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.1786, allocations: 119.8 kB / 0.7699 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.1787, allocations: 3.938 kB / 0.7699 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.1787, allocations: 19.92 kB / 0.7699 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1789, allocations: 87.98 kB / 0.77 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1789, allocations: 4 kB / 0.77 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.031e-06/0.1789, allocations: 4 kB / 0.77 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1789, allocations: 0 / 0.77 GB, free: 4.742 MB / 0.5606 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.0003941/0.1793, allocations: 351.3 kB / 0.7703 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1794, allocations: 12.03 kB / 0.7703 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.1794, allocations: 34.75 kB / 0.7704 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.1796, allocations: 8.938 kB / 0.7704 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1797, allocations: 168.3 kB / 0.7705 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1798, allocations: 8.375 kB / 0.7706 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1798, allocations: 8.375 kB / 0.7706 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1799, allocations: 84.11 kB / 0.7706 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1799, allocations: 0 / 0.7706 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.18, allocations: 0 / 0.7706 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.18, allocations: 4 kB / 0.7706 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.18, allocations: 7.938 kB / 0.7707 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.1806, allocations: 470.9 kB / 0.7711 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1808, allocations: 71.72 kB / 0.7712 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.1808, allocations: 26.64 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.1808, allocations: 0 / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.1809, allocations: 42.58 kB / 0.7712 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/0.1809, allocations: 0 / 0.7712 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006149/0.1815, allocations: 310.3 kB / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.1816, allocations: 102.8 kB / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.1817, allocations: 101.8 kB / 0.7717 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1817, allocations: 29.7 kB / 0.7718 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.1817, allocations: 88.03 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1818, allocations: 31.78 kB / 0.7719 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.1818, allocations: 25.72 kB / 0.7719 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.182, allocations: 326.8 kB / 0.7722 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.182, allocations: 8 kB / 0.7722 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.1821, allocations: 53.14 kB / 0.7723 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/0.1822, allocations: 81.02 kB / 0.7723 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1822, allocations: 0 / 0.7723 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001428/0.1823, allocations: 94.16 kB / 0.7724 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1823, allocations: 4 kB / 0.7724 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1823, allocations: 4 kB / 0.7724 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1824, allocations: 3.984 kB / 0.7724 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.1824, allocations: 20 kB / 0.7725 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1825, allocations: 12.11 kB / 0.7725 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1825, allocations: 7.891 kB / 0.7725 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1825, allocations: 8 kB / 0.7725 GB, free: 1.816 MB / 0.5606 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 8.592e-05/0.1826, allocations: 118.4 kB / 0.7726 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.1827, allocations: 8 kB / 0.7726 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.1827, allocations: 7.562 kB / 0.7726 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1827, allocations: 4 kB / 0.7726 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1827, allocations: 0 / 0.7726 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1827, allocations: 0 / 0.7726 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.1832, allocations: 181.6 kB / 0.7728 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1832, allocations: 0 / 0.7728 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.1833, allocations: 19.98 kB / 0.7728 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1833, allocations: 3.938 kB / 0.7728 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1833, allocations: 4 kB / 0.7728 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.1833, allocations: 0 / 0.7728 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1833, allocations: 3.938 kB / 0.7728 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1836, allocations: 334 kB / 0.7731 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.1836, allocations: 81.11 kB / 0.7732 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1836, allocations: 4.031 kB / 0.7732 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1839, allocations: 4 kB / 0.7732 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1839, allocations: 7.938 kB / 0.7732 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1839, allocations: 4 kB / 0.7732 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.184, allocations: 83.27 kB / 0.7733 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.083e-06/0.184, allocations: 3.938 kB / 0.7733 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004435/0.1844, allocations: 19.94 kB / 0.7733 GB, free: 0.8516 MB / 0.5606 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.2953/0.4797, allocations: 0.8567 MB / 0.7742 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.4799, allocations: 44.78 kB / 0.7742 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4799, allocations: 0.8125 kB / 0.7742 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.48, allocations: 24.17 kB / 0.7742 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.4806, allocations: 15.59 kB / 0.7743 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.482, allocations: 1.681 MB / 0.7759 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.4821, allocations: 0.6833 MB / 0.7766 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.685e-05/0.4822, allocations: 13.42 kB / 0.7766 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.4822, allocations: 15.47 kB / 0.7766 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4822, allocations: 0.8438 kB / 0.7766 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1855/0.6678, allocations: 1.724 MB / 0.7783 GB, free: 12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.725, allocations: 9.609 kB / 0.7783 GB, free: 12 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)