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.008202/0.008202, allocations: 97 kB / 15.73 MB, free: 5.949 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.001922/0.001922, allocations: 192.8 kB / 16.67 MB, free: 5.871 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7645/0.7645, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.67 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1572, allocations: 80.93 MB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002766/0.16, allocations: 1.264 MB / 0.6654 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.1632, allocations: 2.488 MB / 0.6678 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.1633, allocations: 4 kB / 0.6678 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.1633, allocations: 7.922 kB / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.1634, allocations: 3.984 kB / 0.6678 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.164, allocations: 135.4 kB / 0.6679 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.816e-05/0.1641, allocations: 35.86 kB / 0.668 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.1641, allocations: 4 kB / 0.668 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.1642, allocations: 23.91 kB / 0.668 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.1642, allocations: 19.92 kB / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1643, allocations: 0 / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1646, allocations: 119.7 kB / 0.6681 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.1646, allocations: 7.984 kB / 0.6682 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.1647, allocations: 19.92 kB / 0.6682 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1649, allocations: 80 kB / 0.6682 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1649, allocations: 4 kB / 0.6682 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1649, allocations: 0 / 0.6682 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.1649, allocations: 0 / 0.6682 GB, free: 2.086 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.0004754/0.1654, allocations: 351.4 kB / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1654, allocations: 13.11 kB / 0.6686 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.1655, allocations: 30.75 kB / 0.6686 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1657, allocations: 20.88 kB / 0.6686 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1658, allocations: 160.4 kB / 0.6688 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1659, allocations: 4.375 kB / 0.6688 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1659, allocations: 12.31 kB / 0.6688 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.166, allocations: 76.17 kB / 0.6689 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.166, allocations: 0 / 0.6689 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1661, allocations: 4 kB / 0.6689 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1661, allocations: 4 kB / 0.6689 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.1661, allocations: 11.92 kB / 0.6689 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.1667, allocations: 474.8 kB / 0.6694 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1668, allocations: 71.81 kB / 0.6694 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.1669, allocations: 22.64 kB / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1669, allocations: 0 / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1669, allocations: 46.44 kB / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.041e-06/0.1669, allocations: 0 / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006966/0.1676, allocations: 306.2 kB / 0.6698 GB, free: 248 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1677, allocations: 102.8 kB / 0.6699 GB, free: 120 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.1678, allocations: 102 kB / 0.67 GB, free: 8 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1678, allocations: 37.7 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.1679, allocations: 88.03 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1679, allocations: 27.8 kB / 0.6701 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.168, allocations: 29.7 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1682, allocations: 314.8 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.1682, allocations: 15.98 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.1683, allocations: 61.08 kB / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.1684, allocations: 65.09 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1684, allocations: 0 / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000132/0.1685, allocations: 98.06 kB / 0.6707 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1685, allocations: 4 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1686, allocations: 4 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1686, allocations: 96 / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.1687, allocations: 23.97 kB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1687, allocations: 7.938 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.1687, allocations: 4 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1687, allocations: 7.938 kB / 0.6707 GB, free: 15.17 MB / 0.5137 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.334e-05/0.1688, allocations: 123.2 kB / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.1689, allocations: 7.953 kB / 0.6709 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.1689, allocations: 11.55 kB / 0.6709 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1689, allocations: 4 kB / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1689, allocations: 0 / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.169, allocations: 0 / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.1693, allocations: 177.6 kB / 0.671 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1693, allocations: 4 kB / 0.671 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.1694, allocations: 15.94 kB / 0.6711 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1694, allocations: 3.984 kB / 0.6711 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1694, allocations: 4 kB / 0.6711 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1695, allocations: 7.938 kB / 0.6711 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1695, allocations: 0 / 0.6711 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1697, allocations: 334 kB / 0.6714 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1698, allocations: 85.14 kB / 0.6715 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1698, allocations: 0 / 0.6715 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.17, allocations: 8 kB / 0.6715 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.17, allocations: 11.86 kB / 0.6715 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.17, allocations: 12 kB / 0.6715 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.17, allocations: 79.28 kB / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1701, allocations: 0 / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003075/0.1704, allocations: 12 kB / 0.6716 GB, free: 14.19 MB / 0.5137 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.0005334/0.1709, allocations: 0.8633 MB / 0.6724 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.171, allocations: 47.95 kB / 0.6725 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.171, allocations: 0 / 0.6725 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.591e-05/0.1711, allocations: 20.19 kB / 0.6725 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.1715, allocations: 11.94 kB / 0.6725 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1732, allocations: 1.7 MB / 0.6742 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1735, allocations: 0.6807 MB / 0.6748 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.522e-05/0.1736, allocations: 8 kB / 0.6748 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.1736, allocations: 11.44 kB / 0.6749 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1736, allocations: 3.938 kB / 0.6749 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.1945, allocations: 1.703 MB / 0.6765 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.197, allocations: 8.953 kB / 0.6765 GB, free: 9.105 MB / 0.5137 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)