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.001487/0.001488, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9194/0.9194, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.55 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 80.93 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002202/0.1502, allocations: 1.255 MB / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1531, allocations: 2.501 MB / 0.5881 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.1531, allocations: 4 kB / 0.5881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.1531, allocations: 0 / 0.5881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.1532, allocations: 11.91 kB / 0.5882 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.1537, allocations: 127.4 kB / 0.5883 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.1538, allocations: 35.86 kB / 0.5883 GB, free: 468 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.1538, allocations: 0 / 0.5883 GB, free: 468 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.1539, allocations: 19.92 kB / 0.5883 GB, free: 448 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.1539, allocations: 23.97 kB / 0.5884 GB, free: 424 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1539, allocations: 4 kB / 0.5884 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.1542, allocations: 111.8 kB / 0.5885 GB, free: 308 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1543, allocations: 15.86 kB / 0.5885 GB, free: 292 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.1543, allocations: 11.94 kB / 0.5885 GB, free: 280 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1545, allocations: 84.11 kB / 0.5886 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1545, allocations: 0 / 0.5886 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1545, allocations: 0 / 0.5886 GB, free: 196 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1545, allocations: 0 / 0.5886 GB, free: 196 kB / 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.0004403/0.155, allocations: 359.3 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.155, allocations: 12.03 kB / 0.5889 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1551, allocations: 34.75 kB / 0.589 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.1553, allocations: 12.92 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1554, allocations: 164.4 kB / 0.5891 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.1554, allocations: 384 / 0.5891 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1555, allocations: 12.31 kB / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1556, allocations: 80.12 kB / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.1556, allocations: 0 / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1556, allocations: 4 kB / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1557, allocations: 0 / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.1557, allocations: 11.94 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.1563, allocations: 470.8 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1564, allocations: 71.66 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.56e-05/0.1565, allocations: 30.77 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1565, allocations: 0 / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1565, allocations: 42.5 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1565, allocations: 0 / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006106/0.1571, allocations: 306.1 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1572, allocations: 106.8 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.1573, allocations: 98.11 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1573, allocations: 29.7 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.1573, allocations: 84.12 kB / 0.5904 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.1574, allocations: 27.56 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1574, allocations: 29.7 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1575, allocations: 318.8 kB / 0.5908 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.1576, allocations: 11.98 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.362e-05/0.1576, allocations: 57.09 kB / 0.5908 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.1577, allocations: 77.02 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1577, allocations: 0 / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001634/0.1579, allocations: 101.5 kB / 0.591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1579, allocations: 4 kB / 0.591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1579, allocations: 4 kB / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1579, allocations: 0 / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.158, allocations: 19.98 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.158, allocations: 4 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.1581, allocations: 4 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1581, allocations: 7.938 kB / 0.5911 GB, free: 13.28 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.753e-05/0.1582, allocations: 117.9 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.1582, allocations: 4 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.1583, allocations: 8.172 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1583, allocations: 4 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1583, allocations: 0 / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1583, allocations: 3.984 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.1586, allocations: 185.6 kB / 0.5914 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1586, allocations: 0 / 0.5914 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.1587, allocations: 12 kB / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1587, allocations: 0 / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1588, allocations: 11.92 kB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1588, allocations: 4 kB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1588, allocations: 3.938 kB / 0.5914 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.159, allocations: 334 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1591, allocations: 85.14 kB / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1591, allocations: 0 / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.1593, allocations: 8 kB / 0.5918 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.1593, allocations: 15.92 kB / 0.5918 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1593, allocations: 0 / 0.5918 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.1594, allocations: 79.28 kB / 0.5919 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.695e-06/0.1594, allocations: 0 / 0.5919 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003219/0.1597, allocations: 23.88 kB / 0.5919 GB, free: 12.3 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.0004561/0.1602, allocations: 0.8608 MB / 0.5928 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.1603, allocations: 51.91 kB / 0.5928 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1603, allocations: 0 / 0.5928 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.1603, allocations: 24.3 kB / 0.5928 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.1608, allocations: 15.94 kB / 0.5928 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1623, allocations: 1.68 MB / 0.5945 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1625, allocations: 0.6885 MB / 0.5952 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.446e-05/0.1626, allocations: 11.97 kB / 0.5952 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.1626, allocations: 14.31 kB / 0.5952 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1626, allocations: 0 / 0.5952 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1802, allocations: 1.667 MB / 0.5968 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.268, allocations: 8.094 kB / 0.5968 GB, free: 7.266 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)