Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.0009883/0.0009884, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008759/0.008759, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9579/0.9579, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 8 kB / 0.5077 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.165, allocations: 82.31 MB / 0.5881 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001393/0.1665, allocations: 0.9861 MB / 0.589 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.1696, allocations: 2.47 MB / 0.5915 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.1696, allocations: 4 kB / 0.5915 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1696, allocations: 3.984 kB / 0.5915 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.1697, allocations: 7.922 kB / 0.5915 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.1702, allocations: 111.5 kB / 0.5916 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.1703, allocations: 27.92 kB / 0.5916 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1704, allocations: 4 kB / 0.5916 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.1704, allocations: 23.86 kB / 0.5916 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.1705, allocations: 23.97 kB / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1705, allocations: 0 / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1708, allocations: 115.8 kB / 0.5918 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1708, allocations: 3.938 kB / 0.5918 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.1709, allocations: 45.62 kB / 0.5918 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1711, allocations: 84.05 kB / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1711, allocations: 0 / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1711, allocations: 7.938 kB / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1711, allocations: 0 / 0.5919 GB, free: 14.55 MB / 0.4981 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.000349/0.1715, allocations: 347.4 kB / 0.5922 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1715, allocations: 8.031 kB / 0.5922 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1716, allocations: 34.75 kB / 0.5923 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.1718, allocations: 16.92 kB / 0.5923 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.1719, allocations: 160.4 kB / 0.5924 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1719, allocations: 384 / 0.5924 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1719, allocations: 8.375 kB / 0.5924 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1721, allocations: 80.12 kB / 0.5925 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1721, allocations: 0 / 0.5925 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1721, allocations: 4 kB / 0.5925 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1721, allocations: 0 / 0.5925 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.1722, allocations: 15.92 kB / 0.5925 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.1728, allocations: 470.8 kB / 0.593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1729, allocations: 71.81 kB / 0.5931 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.1729, allocations: 22.64 kB / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.1729, allocations: 0 / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.173, allocations: 42.5 kB / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.173, allocations: 0 / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005877/0.1736, allocations: 306.4 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1736, allocations: 102.8 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.1737, allocations: 110 kB / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1737, allocations: 25.7 kB / 0.5936 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.1738, allocations: 84.14 kB / 0.5937 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.1738, allocations: 27.56 kB / 0.5937 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.1738, allocations: 17.7 kB / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.1739, allocations: 322.8 kB / 0.5941 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.174, allocations: 15.98 kB / 0.5941 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.174, allocations: 57.08 kB / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.1741, allocations: 69.03 kB / 0.5942 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1741, allocations: 0 / 0.5942 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001309/0.1742, allocations: 97.61 kB / 0.5943 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1743, allocations: 10.03 kB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1743, allocations: 4 kB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1743, allocations: 4 kB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.1744, allocations: 19.98 kB / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1744, allocations: 3.984 kB / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.1744, allocations: 7.906 kB / 0.5943 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1744, allocations: 7.938 kB / 0.5944 GB, free: 11.66 MB / 0.4981 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 7.965e-05/0.1745, allocations: 121.9 kB / 0.5945 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.1746, allocations: 4 kB / 0.5945 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.1746, allocations: 19.48 kB / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1746, allocations: 0 / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.1747, allocations: 4 kB / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1747, allocations: 0 / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.175, allocations: 177.6 kB / 0.5947 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.175, allocations: 0 / 0.5947 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.1751, allocations: 16 kB / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1751, allocations: 0 / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1751, allocations: 0 / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1751, allocations: 11.98 kB / 0.5947 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1751, allocations: 3.938 kB / 0.5947 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1753, allocations: 326 kB / 0.595 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1754, allocations: 81.14 kB / 0.5951 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1754, allocations: 4.422 kB / 0.5951 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1756, allocations: 8 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.1756, allocations: 11.92 kB / 0.5951 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1756, allocations: 4 kB / 0.5951 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.1757, allocations: 79.27 kB / 0.5952 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1757, allocations: 0 / 0.5952 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003077/0.176, allocations: 16 kB / 0.5952 GB, free: 10.69 MB / 0.4981 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.0004467/0.1764, allocations: 0.8633 MB / 0.596 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1766, allocations: 51.84 kB / 0.5961 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1766, allocations: 0 / 0.5961 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.1766, allocations: 24.3 kB / 0.5961 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.177, allocations: 11.45 kB / 0.5961 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1785, allocations: 1.747 MB / 0.5978 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1788, allocations: 0.6887 MB / 0.5985 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.1788, allocations: 8 kB / 0.5985 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.1789, allocations: 15.44 kB / 0.5985 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1789, allocations: 0 / 0.5985 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.2198, allocations: 1.475 MB / 0.6 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.22, allocations: 232.7 kB / 0.6002 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.879, allocations: 7.516 kB / 0.6002 GB, free: 5.586 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)