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.001948/0.001948, allocations: 119 kB / 19.69 MB, free: 2.199 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.002254/0.002254, allocations: 223.8 kB / 23.01 MB, free: 5.047 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.984 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 0.9734/0.9734, allocations: 150 MB / 463.2 MB, free: 10.46 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.002325/0.002325, allocations: 71.12 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.175, allocations: 89.16 MB / 0.7284 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007391/0.1824, allocations: 4.168 MB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.1862, allocations: 2.469 MB / 0.7349 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1864, allocations: 0 / 0.7349 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1867, allocations: 47.67 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.1871, allocations: 103.4 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.1889, allocations: 0.5476 MB / 0.7356 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.1894, allocations: 267.9 kB / 0.7358 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.1894, allocations: 5.75 kB / 0.7358 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.1898, allocations: 115.5 kB / 0.7359 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.19, allocations: 103.6 kB / 0.736 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.19, allocations: 8 kB / 0.736 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1912, allocations: 471.2 kB / 0.7365 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1913, allocations: 39.89 kB / 0.7365 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1914, allocations: 91.58 kB / 0.7366 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1925, allocations: 419 kB / 0.737 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1925, allocations: 3.938 kB / 0.737 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1925, allocations: 4 kB / 0.737 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1925, allocations: 3.938 kB / 0.737 GB, free: 8.328 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.0009829/0.1935, allocations: 441.4 kB / 0.7374 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1935, allocations: 12.03 kB / 0.7375 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.333e-05/0.1936, allocations: 50.73 kB / 0.7375 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.1958, allocations: 192.6 kB / 0.7377 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.1962, allocations: 158.2 kB / 0.7378 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.1963, allocations: 16.7 kB / 0.7379 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.1963, allocations: 12.38 kB / 0.7379 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.197, allocations: 304.2 kB / 0.7382 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.197, allocations: 3.938 kB / 0.7382 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.1971, allocations: 12 kB / 0.7382 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.1971, allocations: 8 kB / 0.7382 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.1978, allocations: 259.6 kB / 0.7384 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.1999, allocations: 1.364 MB / 0.7398 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.2006, allocations: 182.5 kB / 0.7399 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.2008, allocations: 68.81 kB / 0.74 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.2008, allocations: 3.984 kB / 0.74 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.2008, allocations: 42.56 kB / 0.74 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.944e-06/0.2008, allocations: 0 / 0.74 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008456/0.2017, allocations: 245.4 kB / 0.7403 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.2017, allocations: 51.41 kB / 0.7403 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.202, allocations: 165.2 kB / 0.7405 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.202, allocations: 29.7 kB / 0.7405 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2021, allocations: 128.2 kB / 0.7406 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.2022, allocations: 67.42 kB / 0.7407 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.2023, allocations: 49.92 kB / 0.7407 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2024, allocations: 326.8 kB / 0.7411 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.2027, allocations: 64.42 kB / 0.7411 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.2029, allocations: 150.2 kB / 0.7413 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.2034, allocations: 215.5 kB / 0.7415 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2034, allocations: 0 / 0.7415 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006312/0.2041, allocations: 257.2 kB / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2041, allocations: 4 kB / 0.7417 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.2041, allocations: 4 kB / 0.7417 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2041, allocations: 4 kB / 0.7417 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.2045, allocations: 63.89 kB / 0.7418 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2045, allocations: 4 kB / 0.7418 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.2048, allocations: 28.08 kB / 0.7418 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.2048, allocations: 23.98 kB / 0.7418 GB, free: 3.035 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.0001479/0.2049, allocations: 133.6 kB / 0.742 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.205, allocations: 19.91 kB / 0.742 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006528/0.2057, allocations: 237.1 kB / 0.7422 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2057, allocations: 0 / 0.7422 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2057, allocations: 3.938 kB / 0.7422 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2057, allocations: 0 / 0.7422 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.206, allocations: 216.5 kB / 0.7424 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.206, allocations: 0 / 0.7424 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.2063, allocations: 51.97 kB / 0.7425 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2063, allocations: 0 / 0.7425 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2063, allocations: 8 kB / 0.7425 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2063, allocations: 3.984 kB / 0.7425 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2063, allocations: 0 / 0.7425 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.2069, allocations: 303.2 kB / 0.7428 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.207, allocations: 27.81 kB / 0.7428 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.207, allocations: 4 kB / 0.7428 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.2073, allocations: 19.92 kB / 0.7428 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.2074, allocations: 15.97 kB / 0.7428 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2074, allocations: 4 kB / 0.7428 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001137/0.2075, allocations: 119.1 kB / 0.743 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2075, allocations: 0 / 0.743 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003846/0.2079, allocations: 67.94 kB / 0.743 GB, free: 1.754 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.001034/0.2089, allocations: 0.8643 MB / 0.7439 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.2095, allocations: 174.4 kB / 0.744 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2095, allocations: 0 / 0.744 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.2097, allocations: 83.88 kB / 0.7441 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.2102, allocations: 63.88 kB / 0.7442 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.2138, allocations: 2.164 MB / 0.7463 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.2142, allocations: 0.7133 MB / 0.747 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002814/0.2145, allocations: 53.92 kB / 0.747 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2146, allocations: 51.41 kB / 0.7471 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/0.2146, allocations: 0 / 0.7471 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.2535, allocations: 5.455 MB / 0.7524 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.81, allocations: 4.031 kB / 0.7524 GB, free: 8.16 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.8815772770904] Failed to read output from testmodel.py, exit status != 0: 11.922061394900084 12.26678039 12.071461241 Calling exit ...