Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001261/0.001261, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001459/0.001459, allocations: 216.3 kB / 22.25 MB, free: 5.113 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002468/0.002468, allocations: 286 kB / 312.7 MB, free: 2.789 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.148/1.148, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002878/0.002878, allocations: 104.1 kB / 0.7396 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1805, allocations: 95.38 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002466/0.183, allocations: 1.29 MB / 0.834 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.1863, allocations: 2.583 MB / 0.8365 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1864, allocations: 0 / 0.8365 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.1864, allocations: 7.938 kB / 0.8365 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.1864, allocations: 11.97 kB / 0.8365 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.1869, allocations: 131.4 kB / 0.8366 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.187, allocations: 39.8 kB / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.1871, allocations: 0 / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.1871, allocations: 23.97 kB / 0.8367 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.1872, allocations: 15.92 kB / 0.8367 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1872, allocations: 8 kB / 0.8367 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1875, allocations: 123.7 kB / 0.8368 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.1875, allocations: 4 kB / 0.8368 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1875, allocations: 23.91 kB / 0.8369 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.1877, allocations: 80 kB / 0.8369 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1877, allocations: 3.938 kB / 0.837 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1877, allocations: 0 / 0.837 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1877, allocations: 0 / 0.837 GB, free: 4.312 MB / 0.5762 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.000397/0.1881, allocations: 274.3 kB / 0.8372 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1881, allocations: 16.75 kB / 0.8372 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.1882, allocations: 30.75 kB / 0.8373 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.1884, allocations: 16.89 kB / 0.8373 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1885, allocations: 118.5 kB / 0.8374 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1885, allocations: 384 / 0.8374 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1885, allocations: 8.375 kB / 0.8374 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1887, allocations: 72.12 kB / 0.8375 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1887, allocations: 4 kB / 0.8375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1887, allocations: 8 kB / 0.8375 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1887, allocations: 0 / 0.8375 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.1887, allocations: 11.88 kB / 0.8375 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.1893, allocations: 408.3 kB / 0.8379 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1895, allocations: 75.66 kB / 0.8379 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.1895, allocations: 22.7 kB / 0.838 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.1895, allocations: 0 / 0.838 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1895, allocations: 42.59 kB / 0.838 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1895, allocations: 0 / 0.838 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005752/0.1901, allocations: 229.2 kB / 0.8382 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1902, allocations: 102.8 kB / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.1903, allocations: 101.8 kB / 0.8384 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1903, allocations: 29.95 kB / 0.8385 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1903, allocations: 96.02 kB / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1904, allocations: 27.8 kB / 0.8386 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.1904, allocations: 25.72 kB / 0.8386 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1905, allocations: 318.8 kB / 0.8389 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.1906, allocations: 12 kB / 0.8389 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.1906, allocations: 57.08 kB / 0.839 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.817e-05/0.1907, allocations: 73.08 kB / 0.839 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1907, allocations: 4 kB / 0.839 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.1909, allocations: 93.58 kB / 0.8391 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1909, allocations: 9.859 kB / 0.8391 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1909, allocations: 4 kB / 0.8391 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1909, allocations: 0 / 0.8391 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.191, allocations: 20 kB / 0.8392 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.191, allocations: 7.938 kB / 0.8392 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.191, allocations: 3.938 kB / 0.8392 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.191, allocations: 7.938 kB / 0.8392 GB, free: 1.723 MB / 0.5762 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 0.0001038/0.1911, allocations: 118.5 kB / 0.8393 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.1912, allocations: 12 kB / 0.8393 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.1912, allocations: 11.69 kB / 0.8393 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1912, allocations: 4 kB / 0.8393 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1912, allocations: 0 / 0.8393 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1912, allocations: 0 / 0.8393 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.1916, allocations: 156.7 kB / 0.8395 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1916, allocations: 4 kB / 0.8395 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.1917, allocations: 15.98 kB / 0.8395 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1917, allocations: 3.938 kB / 0.8395 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1917, allocations: 4 kB / 0.8395 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1917, allocations: 4 kB / 0.8395 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1917, allocations: 0 / 0.8395 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.192, allocations: 330.5 kB / 0.8398 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.192, allocations: 7.953 kB / 0.8398 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.192, allocations: 0 / 0.8398 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1922, allocations: 8.031 kB / 0.8398 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.1922, allocations: 19.88 kB / 0.8398 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1922, allocations: 96 / 0.8398 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.1923, allocations: 87.25 kB / 0.8399 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1923, allocations: 0 / 0.8399 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003002/0.1926, allocations: 16 kB / 0.8399 GB, free: 0.8672 MB / 0.5762 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.0006081/0.1932, allocations: 0.8518 MB / 0.8408 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1933, allocations: 43.92 kB / 0.8408 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1933, allocations: 0 / 0.8408 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.1933, allocations: 16.25 kB / 0.8408 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1938, allocations: 19.98 kB / 0.8409 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1955, allocations: 1.705 MB / 0.8425 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1958, allocations: 0.6807 MB / 0.8432 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.1958, allocations: 15.77 kB / 0.8432 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1959, allocations: 11.44 kB / 0.8432 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1959, allocations: 0 / 0.8432 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.2238, allocations: 1.859 MB / 0.845 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.94, allocations: 15.61 kB / 0.845 GB, free: 11.66 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.977243321998685] Failed to read output from testmodel.py, exit status != 0: 11.043480758999067 11.061294813 10.870063709 Calling exit ...