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.005724/0.005724, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001668/0.001668, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.761/0.761, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.84 kB / 0.5808 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1625, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00236/0.1649, allocations: 1.267 MB / 0.6604 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.1681, allocations: 2.499 MB / 0.6628 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.1682, allocations: 0 / 0.6628 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.1682, allocations: 7.938 kB / 0.6628 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.1683, allocations: 0 / 0.6628 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.1689, allocations: 131.3 kB / 0.663 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.169, allocations: 43.83 kB / 0.663 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.169, allocations: 0 / 0.663 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.1691, allocations: 15.94 kB / 0.663 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.1691, allocations: 23.91 kB / 0.6631 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.1691, allocations: 8 kB / 0.6631 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.1695, allocations: 111.7 kB / 0.6632 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1695, allocations: 11.98 kB / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1695, allocations: 15.92 kB / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1697, allocations: 82.66 kB / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1697, allocations: 0 / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1697, allocations: 0 / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1697, allocations: 0 / 0.6633 GB, free: 6.555 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.000434/0.1702, allocations: 356.3 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1702, allocations: 12.03 kB / 0.6636 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1703, allocations: 34.75 kB / 0.6637 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.1705, allocations: 16.84 kB / 0.6637 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1706, allocations: 164.4 kB / 0.6638 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1706, allocations: 384 / 0.6638 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1707, allocations: 12.31 kB / 0.6638 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1708, allocations: 72.17 kB / 0.6639 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1708, allocations: 4 kB / 0.6639 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1709, allocations: 11.98 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1709, allocations: 0 / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.1709, allocations: 11.94 kB / 0.6639 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.1715, allocations: 458.9 kB / 0.6644 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1717, allocations: 75.66 kB / 0.6644 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.1717, allocations: 22.7 kB / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.1717, allocations: 0 / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1718, allocations: 46.58 kB / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1718, allocations: 0 / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006127/0.1724, allocations: 302.1 kB / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.1724, allocations: 110.8 kB / 0.6649 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1725, allocations: 101.8 kB / 0.665 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1725, allocations: 25.95 kB / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.1726, allocations: 88.05 kB / 0.6651 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1726, allocations: 31.55 kB / 0.6651 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.1727, allocations: 25.72 kB / 0.6652 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1728, allocations: 322.8 kB / 0.6655 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.1728, allocations: 8 kB / 0.6655 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.1729, allocations: 61.08 kB / 0.6655 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.173, allocations: 73.08 kB / 0.6656 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.173, allocations: 3.938 kB / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001348/0.1731, allocations: 94.17 kB / 0.6657 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1731, allocations: 8 kB / 0.6657 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1732, allocations: 64 / 0.6657 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1732, allocations: 4 kB / 0.6657 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.1733, allocations: 24 kB / 0.6657 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1733, allocations: 7.922 kB / 0.6657 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.1733, allocations: 4 kB / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1733, allocations: 7.938 kB / 0.6658 GB, free: 3.637 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.926e-05/0.1734, allocations: 110.7 kB / 0.6659 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.1735, allocations: 12.02 kB / 0.6659 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.1735, allocations: 15.55 kB / 0.6659 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1735, allocations: 0 / 0.6659 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1735, allocations: 0 / 0.6659 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1735, allocations: 0 / 0.6659 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1739, allocations: 185.6 kB / 0.6661 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1739, allocations: 0 / 0.6661 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/0.174, allocations: 19.92 kB / 0.6661 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.174, allocations: 4 kB / 0.6661 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.174, allocations: 3.938 kB / 0.6661 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.174, allocations: 0 / 0.6661 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.174, allocations: 4 kB / 0.6661 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1743, allocations: 329.9 kB / 0.6664 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.1743, allocations: 81.11 kB / 0.6665 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1744, allocations: 4.031 kB / 0.6665 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1745, allocations: 4 kB / 0.6665 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.1746, allocations: 19.88 kB / 0.6665 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1746, allocations: 0 / 0.6665 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.1746, allocations: 83.27 kB / 0.6666 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1746, allocations: 0 / 0.6666 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000311/0.1749, allocations: 16 kB / 0.6666 GB, free: 2.66 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.0005025/0.1755, allocations: 0.8633 MB / 0.6675 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1756, allocations: 39.97 kB / 0.6675 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1756, allocations: 4 kB / 0.6675 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.1756, allocations: 24.23 kB / 0.6675 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.1761, allocations: 17.83 kB / 0.6675 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1776, allocations: 1.695 MB / 0.6692 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1779, allocations: 0.6846 MB / 0.6699 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.1779, allocations: 11.98 kB / 0.6699 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.178, allocations: 19.38 kB / 0.6699 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.178, allocations: 0 / 0.6699 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.197, allocations: 1.698 MB / 0.6715 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.486, allocations: 10.56 kB / 0.6716 GB, free: 13.6 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)