Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_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.007048/0.007048, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001664/0.001664, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7972/0.7972, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 60.31 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1493, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002296/0.1516, allocations: 1.27 MB / 0.6604 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.1548, allocations: 2.498 MB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.1549, allocations: 0 / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1549, allocations: 3.938 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.155, allocations: 7.922 kB / 0.6629 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.1555, allocations: 131.4 kB / 0.663 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.1556, allocations: 35.91 kB / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.1556, allocations: 7.984 kB / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.1557, allocations: 23.88 kB / 0.663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.1558, allocations: 19.91 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1558, allocations: 4 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.1561, allocations: 111.8 kB / 0.6632 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.1561, allocations: 7.984 kB / 0.6632 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1562, allocations: 15.92 kB / 0.6632 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1564, allocations: 85.41 kB / 0.6633 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1564, allocations: 0 / 0.6633 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1564, allocations: 0 / 0.6633 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1564, allocations: 4 kB / 0.6633 GB, free: 9.801 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.0004716/0.1569, allocations: 351.3 kB / 0.6636 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1569, allocations: 12.02 kB / 0.6636 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.157, allocations: 34.75 kB / 0.6637 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.1572, allocations: 12.94 kB / 0.6637 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1573, allocations: 172.3 kB / 0.6638 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1573, allocations: 384 / 0.6638 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1574, allocations: 8.375 kB / 0.6638 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1575, allocations: 72.2 kB / 0.6639 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1576, allocations: 7.984 kB / 0.6639 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1576, allocations: 0 / 0.6639 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1576, allocations: 3.938 kB / 0.6639 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.1576, allocations: 11.94 kB / 0.6639 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.1583, allocations: 474.8 kB / 0.6644 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1584, allocations: 67.66 kB / 0.6645 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.1585, allocations: 26.64 kB / 0.6645 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1585, allocations: 8 kB / 0.6645 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1585, allocations: 34.64 kB / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1585, allocations: 0 / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006372/0.1592, allocations: 298.2 kB / 0.6648 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.1593, allocations: 111.1 kB / 0.6649 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.1594, allocations: 101.8 kB / 0.665 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1594, allocations: 29.64 kB / 0.665 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.1595, allocations: 88.03 kB / 0.6651 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1595, allocations: 27.8 kB / 0.6651 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.1595, allocations: 25.72 kB / 0.6652 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1597, allocations: 322.8 kB / 0.6655 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.1597, allocations: 11.94 kB / 0.6655 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.1598, allocations: 57.14 kB / 0.6655 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1599, allocations: 81.58 kB / 0.6656 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1599, allocations: 0 / 0.6656 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.16, allocations: 93.55 kB / 0.6657 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1601, allocations: 8 kB / 0.6657 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1601, allocations: 0 / 0.6657 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1601, allocations: 4 kB / 0.6657 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.1602, allocations: 19.94 kB / 0.6657 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1602, allocations: 0 / 0.6657 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.1602, allocations: 7.984 kB / 0.6658 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1602, allocations: 12.06 kB / 0.6658 GB, free: 6.887 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 8.852e-05/0.1603, allocations: 118.4 kB / 0.6659 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.1604, allocations: 3.953 kB / 0.6659 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.1604, allocations: 11.62 kB / 0.6659 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1604, allocations: 4 kB / 0.6659 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1605, allocations: 0 / 0.6659 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1605, allocations: 4 kB / 0.6659 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.1608, allocations: 181.6 kB / 0.6661 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1608, allocations: 3.938 kB / 0.6661 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.1609, allocations: 19.98 kB / 0.6661 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.161, allocations: 4 kB / 0.6661 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.161, allocations: 0 / 0.6661 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.161, allocations: 0 / 0.6661 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.161, allocations: 7.938 kB / 0.6661 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1613, allocations: 333.9 kB / 0.6664 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1613, allocations: 85.11 kB / 0.6665 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1613, allocations: 4.031 kB / 0.6665 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1615, allocations: 4 kB / 0.6665 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.1615, allocations: 11.94 kB / 0.6665 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1616, allocations: 4 kB / 0.6665 GB, free: 6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.48e-05/0.1616, allocations: 79.27 kB / 0.6666 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 0.6666 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003127/0.1619, allocations: 16 kB / 0.6666 GB, free: 5.906 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.0006368/0.1626, allocations: 0.8634 MB / 0.6675 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1627, allocations: 48.11 kB / 0.6675 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1627, allocations: 0 / 0.6675 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/0.1628, allocations: 19.94 kB / 0.6675 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1632, allocations: 16.75 kB / 0.6675 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1649, allocations: 1.704 MB / 0.6692 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1652, allocations: 0.6885 MB / 0.6699 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.1653, allocations: 7.984 kB / 0.6699 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1653, allocations: 11.44 kB / 0.6699 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1653, allocations: 8 kB / 0.6699 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.1879, allocations: 1.694 MB / 0.6716 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.881, allocations: 1.594 kB / 0.6716 GB, free: 0.8594 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)