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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 107.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8359/0.8359, allocations: 134 MB / 442.8 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 62.09 kB / 0.6134 GB, free: 8.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1746, allocations: 85.85 MB / 0.6972 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002491/0.1771, allocations: 1.29 MB / 0.6985 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.1806, allocations: 2.562 MB / 0.701 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.1806, allocations: 0 / 0.701 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.1807, allocations: 3.938 kB / 0.701 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.1807, allocations: 7.969 kB / 0.701 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.1813, allocations: 139.3 kB / 0.7011 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.1814, allocations: 35.92 kB / 0.7012 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.1814, allocations: 4 kB / 0.7012 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.1814, allocations: 15.98 kB / 0.7012 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.1815, allocations: 19.91 kB / 0.7012 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.1815, allocations: 0 / 0.7012 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.1819, allocations: 123.7 kB / 0.7013 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.1819, allocations: 4 kB / 0.7013 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.1819, allocations: 15.94 kB / 0.7014 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1821, allocations: 91.97 kB / 0.7014 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1821, allocations: 0 / 0.7014 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1821, allocations: 0 / 0.7014 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.1821, allocations: 4 kB / 0.7014 GB, free: 14.65 MB / 0.5294 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.0004963/0.1826, allocations: 345.3 kB / 0.7018 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1827, allocations: 13.11 kB / 0.7018 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.1827, allocations: 38.72 kB / 0.7018 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.1829, allocations: 16.88 kB / 0.7018 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1831, allocations: 172.3 kB / 0.702 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1831, allocations: 384 / 0.702 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1831, allocations: 12.31 kB / 0.702 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1833, allocations: 72.2 kB / 0.7021 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1833, allocations: 0 / 0.7021 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1833, allocations: 8 kB / 0.7021 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1833, allocations: 0 / 0.7021 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.1834, allocations: 15.92 kB / 0.7021 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.1841, allocations: 466.9 kB / 0.7026 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1842, allocations: 71.72 kB / 0.7026 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.1842, allocations: 18.64 kB / 0.7026 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.1843, allocations: 7.938 kB / 0.7027 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1843, allocations: 34.56 kB / 0.7027 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.1843, allocations: 4 kB / 0.7027 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007178/0.185, allocations: 302.3 kB / 0.703 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.1851, allocations: 107.1 kB / 0.7031 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.1851, allocations: 97.84 kB / 0.7032 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1852, allocations: 29.7 kB / 0.7032 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1852, allocations: 92.03 kB / 0.7033 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1852, allocations: 31.72 kB / 0.7033 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1853, allocations: 25.72 kB / 0.7033 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1854, allocations: 318.8 kB / 0.7036 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.1855, allocations: 15.98 kB / 0.7037 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.1855, allocations: 63.81 kB / 0.7037 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.1856, allocations: 69.61 kB / 0.7038 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1856, allocations: 0 / 0.7038 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.1858, allocations: 97.48 kB / 0.7039 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1858, allocations: 8 kB / 0.7039 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1858, allocations: 7.922 kB / 0.7039 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1858, allocations: 4 kB / 0.7039 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.1859, allocations: 19.94 kB / 0.7039 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1859, allocations: 4 kB / 0.7039 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.1859, allocations: 7.938 kB / 0.7039 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.186, allocations: 12.06 kB / 0.7039 GB, free: 11.73 MB / 0.5294 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 9.011e-05/0.186, allocations: 117.8 kB / 0.7041 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1861, allocations: 4 kB / 0.7041 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.1861, allocations: 7.562 kB / 0.7041 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1861, allocations: 0 / 0.7041 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1861, allocations: 4 kB / 0.7041 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1861, allocations: 0 / 0.7041 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.1865, allocations: 173.6 kB / 0.7042 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1865, allocations: 0 / 0.7042 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.1866, allocations: 31.92 kB / 0.7043 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1866, allocations: 0 / 0.7043 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1866, allocations: 0 / 0.7043 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1866, allocations: 4 kB / 0.7043 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1866, allocations: 0 / 0.7043 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1869, allocations: 334 kB / 0.7046 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.187, allocations: 89.06 kB / 0.7047 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.187, allocations: 7.938 kB / 0.7047 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1871, allocations: 4.031 kB / 0.7047 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.1872, allocations: 7.938 kB / 0.7047 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1872, allocations: 8 kB / 0.7047 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.1872, allocations: 75.28 kB / 0.7048 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1872, allocations: 4 kB / 0.7048 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003206/0.1876, allocations: 8 kB / 0.7048 GB, free: 10.77 MB / 0.5294 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.0006027/0.1882, allocations: 0.8673 MB / 0.7056 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1883, allocations: 44.05 kB / 0.7057 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1883, allocations: 4 kB / 0.7057 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.1883, allocations: 11.94 kB / 0.7057 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.1888, allocations: 14.53 kB / 0.7057 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1906, allocations: 1.7 MB / 0.7074 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1909, allocations: 0.6923 MB / 0.708 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.191, allocations: 0 / 0.708 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.191, allocations: 22.17 kB / 0.7081 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.191, allocations: 4 kB / 0.7081 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.2158, allocations: 1.712 MB / 0.7097 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/7.997, allocations: 6.5 kB / 0.7097 GB, free: 5.695 MB / 0.5294 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.719254740004544] Failed to read output from testmodel.py, exit status != 0: 8.06397730000026 8.079768016 7.894522714 Calling exit ...