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.001084/0.001084, 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.001092/0.001092, allocations: 199.3 kB / 16.14 MB, free: 6.695 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8588/0.8588, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.02 kB / 0.5048 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1602, allocations: 80.92 MB / 0.5838 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002279/0.1625, allocations: 1.321 MB / 0.5851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1653, allocations: 2.505 MB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.1653, allocations: 0 / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1654, allocations: 0 / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.1654, allocations: 3.984 kB / 0.5876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1659, allocations: 115.5 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.166, allocations: 35.92 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.166, allocations: 3.984 kB / 0.5877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.166, allocations: 19.94 kB / 0.5877 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.1661, allocations: 15.91 kB / 0.5877 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1661, allocations: 4 kB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.1664, allocations: 115.7 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1664, allocations: 4 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.1665, allocations: 23.92 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1667, allocations: 88.05 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1667, allocations: 0 / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1667, allocations: 0 / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1667, allocations: 0 / 0.588 GB, free: 0.5859 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.0004099/0.1671, allocations: 347.5 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1672, allocations: 16.02 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.1672, allocations: 30.75 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.1674, allocations: 12.94 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1675, allocations: 176.3 kB / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1676, allocations: 4.312 kB / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1676, allocations: 8.375 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1677, allocations: 72.17 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1677, allocations: 0 / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1678, allocations: 8 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1678, allocations: 0 / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.1678, allocations: 11.94 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.1684, allocations: 466.8 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1685, allocations: 79.59 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.1686, allocations: 22.7 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.1686, allocations: 0 / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1686, allocations: 38.64 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1686, allocations: 0 / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005807/0.1692, allocations: 306.4 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.1693, allocations: 106.8 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.1693, allocations: 105.8 kB / 0.5897 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1694, allocations: 29.7 kB / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.1694, allocations: 80.14 kB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1694, allocations: 31.55 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1695, allocations: 33.91 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1696, allocations: 318.8 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.1696, allocations: 12 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.1697, allocations: 57.97 kB / 0.5902 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.1698, allocations: 73.08 kB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1698, allocations: 4 kB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.1699, allocations: 93.45 kB / 0.5904 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1699, allocations: 5.875 kB / 0.5904 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.17, allocations: 4 kB / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.17, allocations: 4.125 kB / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.1701, allocations: 23.94 kB / 0.5904 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1701, allocations: 4 kB / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.1701, allocations: 3.984 kB / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1701, allocations: 7.938 kB / 0.5904 GB, free: 13.67 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.409e-05/0.1702, allocations: 113.8 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.1703, allocations: 4 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.1703, allocations: 7.562 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1703, allocations: 4 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1703, allocations: 4 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1703, allocations: 3.938 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.1706, allocations: 181.6 kB / 0.5907 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1707, allocations: 4 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.1708, allocations: 15.98 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1708, allocations: 3.938 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.1708, allocations: 7.938 kB / 0.5908 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1708, allocations: 0 / 0.5908 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1708, allocations: 0 / 0.5908 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.171, allocations: 337.9 kB / 0.5911 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.1711, allocations: 81.11 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1711, allocations: 4.031 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.1713, allocations: 4 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1713, allocations: 7.938 kB / 0.5912 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1713, allocations: 4 kB / 0.5912 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.1713, allocations: 87.64 kB / 0.5913 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 0 / 0.5913 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003026/0.1717, allocations: 16 kB / 0.5913 GB, free: 12.7 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.000459/0.1721, allocations: 0.8713 MB / 0.5921 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1722, allocations: 39.92 kB / 0.5922 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1723, allocations: 0 / 0.5922 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.1723, allocations: 19.94 kB / 0.5922 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1727, allocations: 19.92 kB / 0.5922 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1742, allocations: 1.698 MB / 0.5939 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1744, allocations: 0.6809 MB / 0.5945 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.442e-05/0.1745, allocations: 8 kB / 0.5946 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.1745, allocations: 15.44 kB / 0.5946 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1745, allocations: 0 / 0.5946 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/0.3146, allocations: 1.542 MB / 0.5961 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.3149, allocations: 240.5 kB / 0.5963 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.934, allocations: 0 / 0.5963 GB, free: 7.562 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)