Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001313/0.001313, allocations: 114 kB / 17.12 MB, free: 6.008 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.001567/0.001567, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.083/1.083, allocations: 150 MB / 459.5 MB, free: 5.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002008/0.002008, allocations: 72.33 kB / 0.6362 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, allocations: 89.12 MB / 0.7232 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006336/0.1643, allocations: 4.137 MB / 0.7273 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003379/0.1677, allocations: 2.453 MB / 0.7296 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1678, allocations: 0 / 0.7296 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1681, allocations: 51.66 kB / 0.7297 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.1684, allocations: 99.34 kB / 0.7298 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.17, allocations: 0.5341 MB / 0.7303 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.1703, allocations: 259.9 kB / 0.7306 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1704, allocations: 9.547 kB / 0.7306 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.1706, allocations: 115.5 kB / 0.7307 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1708, allocations: 99.64 kB / 0.7308 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1708, allocations: 8 kB / 0.7308 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009558/0.1718, allocations: 479.1 kB / 0.7312 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1719, allocations: 43.81 kB / 0.7313 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.172, allocations: 79.66 kB / 0.7314 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009853/0.173, allocations: 423 kB / 0.7318 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.173, allocations: 4 kB / 0.7318 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.173, allocations: 0 / 0.7318 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.173, allocations: 0 / 0.7318 GB, free: 11.16 MB / 0.545 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.001034/0.174, allocations: 0.516 MB / 0.7323 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1741, allocations: 8.031 kB / 0.7323 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.1741, allocations: 54.73 kB / 0.7323 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.1763, allocations: 184.6 kB / 0.7325 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.1767, allocations: 220.1 kB / 0.7327 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.1767, allocations: 12.7 kB / 0.7327 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.1767, allocations: 16.38 kB / 0.7327 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.1775, allocations: 308.2 kB / 0.733 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1775, allocations: 7.938 kB / 0.733 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.1775, allocations: 4 kB / 0.733 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.1776, allocations: 8 kB / 0.7331 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/0.1783, allocations: 259.6 kB / 0.7333 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1802, allocations: 1.396 MB / 0.7347 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.1809, allocations: 186.4 kB / 0.7348 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.1812, allocations: 74.06 kB / 0.7349 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.1812, allocations: 4 kB / 0.7349 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1813, allocations: 34.56 kB / 0.735 GB, free: 7.629 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.1813, allocations: 4 kB / 0.735 GB, free: 7.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0008847/0.1822, allocations: 242.6 kB / 0.7352 GB, free: 7.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1822, allocations: 55.41 kB / 0.7352 GB, free: 7.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1824, allocations: 157.5 kB / 0.7354 GB, free: 7.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1824, allocations: 29.7 kB / 0.7354 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1826, allocations: 136.2 kB / 0.7355 GB, free: 6.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.1826, allocations: 75.36 kB / 0.7356 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1827, allocations: 41.94 kB / 0.7357 GB, free: 6.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.1829, allocations: 330.8 kB / 0.736 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.1832, allocations: 64.41 kB / 0.736 GB, free: 6.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.1835, allocations: 142.3 kB / 0.7362 GB, free: 6.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.184, allocations: 218.9 kB / 0.7364 GB, free: 6.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.184, allocations: 0 / 0.7364 GB, free: 6.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000714/0.1848, allocations: 261.4 kB / 0.7366 GB, free: 5.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1848, allocations: 9.094 kB / 0.7366 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1848, allocations: 0 / 0.7366 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1848, allocations: 7.938 kB / 0.7366 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.1852, allocations: 63.89 kB / 0.7367 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.1852, allocations: 7.984 kB / 0.7367 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1855, allocations: 31.83 kB / 0.7367 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.1855, allocations: 8 kB / 0.7368 GB, free: 5.66 MB / 0.545 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.0001821/0.1857, allocations: 145.7 kB / 0.7369 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.1858, allocations: 15.91 kB / 0.7369 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/0.1865, allocations: 222.7 kB / 0.7371 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1865, allocations: 0 / 0.7371 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1865, allocations: 4 kB / 0.7371 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1865, allocations: 3.984 kB / 0.7371 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.1869, allocations: 233.5 kB / 0.7373 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.1869, allocations: 7.984 kB / 0.7374 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.1872, allocations: 51.91 kB / 0.7374 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1872, allocations: 0 / 0.7374 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1873, allocations: 4 kB / 0.7374 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1873, allocations: 0 / 0.7374 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1873, allocations: 3.938 kB / 0.7374 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.1879, allocations: 309.1 kB / 0.7377 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.188, allocations: 108.9 kB / 0.7378 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1881, allocations: 0 / 0.7378 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.1883, allocations: 19.98 kB / 0.7378 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1884, allocations: 7.984 kB / 0.7378 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.1884, allocations: 11.98 kB / 0.7379 GB, free: 4.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.636e-05/0.1885, allocations: 114.5 kB / 0.738 GB, free: 4.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1885, allocations: 0 / 0.738 GB, free: 4.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004006/0.1889, allocations: 67.92 kB / 0.738 GB, free: 4.258 MB / 0.545 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.001199/0.1901, allocations: 0.8663 MB / 0.7389 GB, free: 3.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006262/0.1907, allocations: 168.4 kB / 0.739 GB, free: 3.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.1907, allocations: 8 kB / 0.739 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.191, allocations: 75.88 kB / 0.7391 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.1915, allocations: 63.89 kB / 0.7392 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.1952, allocations: 2.177 MB / 0.7413 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.1956, allocations: 0.7134 MB / 0.742 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003327/0.1959, allocations: 49.92 kB / 0.742 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.196, allocations: 51.41 kB / 0.7421 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.196, allocations: 0 / 0.7421 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/0.2363, allocations: 5.224 MB / 0.7472 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.681/8.918, allocations: 9.328 kB / 0.7472 GB, free: 10.88 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.06865293183364] Failed to read output from testmodel.py, exit status != 0: 8.991193432128057 9.013277109 8.836102984 Calling exit ...