Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001437/0.001437, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001604/0.001604, allocations: 212 kB / 19.43 MB, free: 3.637 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 279 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.215/1.215, allocations: 180.9 MB / 0.5333 GB, free: 13.77 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.002804/0.002804, allocations: 102.4 kB / 0.7343 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1646, allocations: 95.34 MB / 0.8274 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005719/0.1704, allocations: 4.143 MB / 0.8315 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00299/0.1733, allocations: 2.445 MB / 0.8338 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.1734, allocations: 0 / 0.8338 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1737, allocations: 47.67 kB / 0.8339 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.174, allocations: 111.3 kB / 0.834 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1753, allocations: 0.5336 MB / 0.8345 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.1756, allocations: 255.9 kB / 0.8348 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1757, allocations: 5.562 kB / 0.8348 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1759, allocations: 127.5 kB / 0.8349 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.176, allocations: 99.59 kB / 0.835 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.176, allocations: 8 kB / 0.835 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.1769, allocations: 475.2 kB / 0.8354 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.177, allocations: 39.89 kB / 0.8355 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.1771, allocations: 79.59 kB / 0.8356 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.1777, allocations: 423 kB / 0.836 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1777, allocations: 0 / 0.836 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1777, allocations: 0 / 0.836 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1777, allocations: 3.938 kB / 0.836 GB, free: 1.02 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008272/0.1785, allocations: 0.5192 MB / 0.8365 GB, free: 460 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1786, allocations: 8.625 kB / 0.8365 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.1786, allocations: 54.73 kB / 0.8365 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.1808, allocations: 188.6 kB / 0.8367 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1811, allocations: 216.2 kB / 0.8369 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1811, allocations: 8.703 kB / 0.8369 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.1812, allocations: 16.38 kB / 0.8369 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.1818, allocations: 312.1 kB / 0.8372 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1818, allocations: 4 kB / 0.8372 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.1819, allocations: 8 kB / 0.8372 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.1819, allocations: 7.938 kB / 0.8373 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.1826, allocations: 267.6 kB / 0.8375 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.1843, allocations: 1.385 MB / 0.8389 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.185, allocations: 174.5 kB / 0.839 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.1852, allocations: 76.81 kB / 0.8391 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1853, allocations: 7.984 kB / 0.8391 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1853, allocations: 34.56 kB / 0.8391 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.1853, allocations: 4 kB / 0.8391 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0008327/0.1861, allocations: 246.6 kB / 0.8394 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1862, allocations: 59.41 kB / 0.8394 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1863, allocations: 153.1 kB / 0.8396 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.1864, allocations: 29.7 kB / 0.8396 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.1864, allocations: 132.2 kB / 0.8397 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.1865, allocations: 63.47 kB / 0.8398 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1866, allocations: 49.88 kB / 0.8398 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1867, allocations: 334.8 kB / 0.8402 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.187, allocations: 68.41 kB / 0.8402 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1873, allocations: 143 kB / 0.8404 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.1878, allocations: 214.4 kB / 0.8406 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1878, allocations: 0 / 0.8406 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006409/0.1884, allocations: 263.3 kB / 0.8408 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1884, allocations: 8 kB / 0.8408 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1885, allocations: 0 / 0.8408 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1885, allocations: 4.312 kB / 0.8408 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.1888, allocations: 67.89 kB / 0.8409 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1888, allocations: 4 kB / 0.8409 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1891, allocations: 31.83 kB / 0.8409 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1891, allocations: 12 kB / 0.8409 GB, free: 11.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001289/0.1892, allocations: 134.3 kB / 0.8411 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.1893, allocations: 11.95 kB / 0.8411 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.19, allocations: 238.5 kB / 0.8413 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.19, allocations: 8 kB / 0.8413 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.19, allocations: 0 / 0.8413 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.19, allocations: 3.984 kB / 0.8413 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1903, allocations: 237.5 kB / 0.8415 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1903, allocations: 0 / 0.8415 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.1906, allocations: 43.95 kB / 0.8416 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1906, allocations: 0 / 0.8416 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.1906, allocations: 8 kB / 0.8416 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1906, allocations: 0 / 0.8416 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1906, allocations: 4 kB / 0.8416 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.1912, allocations: 296.8 kB / 0.8419 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1913, allocations: 112.9 kB / 0.842 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1914, allocations: 4 kB / 0.842 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.1916, allocations: 23.97 kB / 0.842 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.1917, allocations: 11.98 kB / 0.842 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.1917, allocations: 8 kB / 0.842 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.704e-05/0.1918, allocations: 119.1 kB / 0.8422 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1918, allocations: 0 / 0.8422 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003652/0.1921, allocations: 59.94 kB / 0.8422 GB, free: 10.13 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * 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.00106/0.1932, allocations: 0.8806 MB / 0.8431 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.1938, allocations: 171.7 kB / 0.8432 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1938, allocations: 0 / 0.8432 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.194, allocations: 84.5 kB / 0.8433 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.1945, allocations: 68.94 kB / 0.8434 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.1978, allocations: 2.176 MB / 0.8455 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1981, allocations: 0.7214 MB / 0.8462 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.1984, allocations: 49.92 kB / 0.8463 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.1985, allocations: 47.41 kB / 0.8463 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1985, allocations: 4 kB / 0.8463 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.2268, allocations: 5.254 MB / 0.8514 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.075, allocations: 7.016 kB / 0.8514 GB, free: 0.7109 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.146065237931907] Failed to read output from testmodel.py, exit status != 0: 8.145860644057393 8.160134408 7.97972242 Calling exit ...