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.001389/0.001389, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001492/0.001492, allocations: 220.8 kB / 23 MB, free: 4.969 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.015/1.015, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.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.002053/0.002053, allocations: 66.27 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1758, allocations: 89.18 MB / 0.7282 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005771/0.1815, allocations: 3.884 MB / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1844, allocations: 2.232 MB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.1844, allocations: 4 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1847, allocations: 39.69 kB / 0.7342 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.185, allocations: 99.36 kB / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.1863, allocations: 0.5502 MB / 0.7349 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1867, allocations: 267.8 kB / 0.7351 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.1867, allocations: 13.75 kB / 0.7351 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1869, allocations: 107.7 kB / 0.7352 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1871, allocations: 91.58 kB / 0.7353 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1871, allocations: 8 kB / 0.7353 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007388/0.1878, allocations: 395.4 kB / 0.7357 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.1879, allocations: 47.81 kB / 0.7357 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.188, allocations: 71.66 kB / 0.7358 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.1886, allocations: 411 kB / 0.7362 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1886, allocations: 4 kB / 0.7362 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1886, allocations: 0 / 0.7362 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1886, allocations: 3.938 kB / 0.7362 GB, free: 8.734 MB / 0.5606 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.0007734/0.1894, allocations: 445.4 kB / 0.7366 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1895, allocations: 8.031 kB / 0.7367 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/0.1895, allocations: 50.73 kB / 0.7367 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.1916, allocations: 192.6 kB / 0.7369 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.1919, allocations: 162.2 kB / 0.737 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.1919, allocations: 12.7 kB / 0.737 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.192, allocations: 16.31 kB / 0.7371 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.1928, allocations: 0.5057 MB / 0.7376 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1928, allocations: 0 / 0.7376 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.1928, allocations: 8 kB / 0.7376 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.1929, allocations: 11.97 kB / 0.7376 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/0.1936, allocations: 255.6 kB / 0.7378 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1952, allocations: 1.212 MB / 0.739 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.1959, allocations: 192.3 kB / 0.7392 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.1962, allocations: 64.81 kB / 0.7392 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1962, allocations: 7.938 kB / 0.7393 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1962, allocations: 38.56 kB / 0.7393 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.1962, allocations: 0 / 0.7393 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008169/0.1971, allocations: 241.4 kB / 0.7395 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1971, allocations: 55.41 kB / 0.7396 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1973, allocations: 158.1 kB / 0.7397 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1973, allocations: 33.64 kB / 0.7398 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.1974, allocations: 132.2 kB / 0.7399 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.1975, allocations: 59.48 kB / 0.7399 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.1976, allocations: 57.88 kB / 0.74 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1977, allocations: 326.8 kB / 0.7403 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.1979, allocations: 72.42 kB / 0.7404 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.1982, allocations: 142.2 kB / 0.7405 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.1987, allocations: 215.5 kB / 0.7407 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1987, allocations: 0 / 0.7407 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006374/0.1994, allocations: 257.1 kB / 0.741 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1994, allocations: 6.188 kB / 0.741 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1994, allocations: 4 kB / 0.741 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1994, allocations: 4 kB / 0.741 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.1998, allocations: 72.19 kB / 0.741 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1998, allocations: 4 kB / 0.7411 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.2001, allocations: 27.83 kB / 0.7411 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.2001, allocations: 19.98 kB / 0.7411 GB, free: 3.363 MB / 0.5606 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.0001404/0.2002, allocations: 129.7 kB / 0.7412 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.2003, allocations: 15.91 kB / 0.7412 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.201, allocations: 234.5 kB / 0.7415 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.201, allocations: 0 / 0.7415 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.201, allocations: 0 / 0.7415 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.201, allocations: 0 / 0.7415 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.2013, allocations: 212.5 kB / 0.7417 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2013, allocations: 0 / 0.7417 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.2016, allocations: 51.95 kB / 0.7417 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2016, allocations: 0 / 0.7417 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2016, allocations: 11.94 kB / 0.7417 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2016, allocations: 0 / 0.7417 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2016, allocations: 3.938 kB / 0.7417 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.2022, allocations: 301.1 kB / 0.742 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2023, allocations: 31.81 kB / 0.742 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.2024, allocations: 8 kB / 0.7421 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.2026, allocations: 11.98 kB / 0.7421 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.2027, allocations: 15.97 kB / 0.7421 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.2027, allocations: 7.984 kB / 0.7421 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.597e-05/0.2028, allocations: 126.2 kB / 0.7422 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2028, allocations: 0 / 0.7422 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003743/0.2031, allocations: 56 kB / 0.7423 GB, free: 2.102 MB / 0.5606 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.001051/0.2042, allocations: 0.8741 MB / 0.7431 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.2048, allocations: 171.7 kB / 0.7433 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2048, allocations: 3.984 kB / 0.7433 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.205, allocations: 76.52 kB / 0.7434 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.2055, allocations: 59.89 kB / 0.7434 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.2089, allocations: 2.165 MB / 0.7455 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.209, allocations: 107.1 kB / 0.7456 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.2092, allocations: 49.92 kB / 0.7457 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2094, allocations: 47.42 kB / 0.7457 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2094, allocations: 0 / 0.7457 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.2423, allocations: 6.065 MB / 0.7516 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.63, allocations: 7.984 kB / 0.7517 GB, free: 8.566 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.837670331820846] Failed to read output from testmodel.py, exit status != 0: 11.737878433894366 12.133563172 11.942156459 Calling exit ...