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.00129/0.00129, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001465/0.001465, allocations: 217.7 kB / 23.04 MB, free: 5.078 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002477/0.002477, allocations: 281.7 kB / 313.5 MB, free: 2.91 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.217/1.217, allocations: 180.6 MB / 0.5377 GB, free: 12.86 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.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",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.002931/0.002931, allocations: 98.53 kB / 0.7404 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1792, allocations: 95.38 MB / 0.8336 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005956/0.1851, allocations: 4.174 MB / 0.8376 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.1882, allocations: 2.461 MB / 0.84 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1883, allocations: 0 / 0.84 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.1886, allocations: 51.67 kB / 0.8401 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.1889, allocations: 99.34 kB / 0.8402 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1904, allocations: 0.5403 MB / 0.8407 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.1907, allocations: 263.8 kB / 0.841 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1907, allocations: 13.73 kB / 0.841 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.191, allocations: 115.6 kB / 0.8411 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1911, allocations: 99.58 kB / 0.8412 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1911, allocations: 8 kB / 0.8412 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.192, allocations: 487.2 kB / 0.8416 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.59e-05/0.1921, allocations: 39.83 kB / 0.8417 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.1922, allocations: 83.64 kB / 0.8418 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.1928, allocations: 419.2 kB / 0.8422 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1928, allocations: 0 / 0.8422 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1928, allocations: 0 / 0.8422 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.1928, allocations: 0 / 0.8422 GB, free: 15.73 MB / 0.5919 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.000786/0.1936, allocations: 450.4 kB / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1936, allocations: 8.75 kB / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.645e-05/0.1936, allocations: 16.45 kB / 0.8426 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.1937, allocations: 50.73 kB / 0.8427 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.1957, allocations: 188.6 kB / 0.8428 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.196, allocations: 158.2 kB / 0.843 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1961, allocations: 12.7 kB / 0.843 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.1961, allocations: 16.12 kB / 0.843 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.1968, allocations: 308.9 kB / 0.8433 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1968, allocations: 0 / 0.8433 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.1968, allocations: 12 kB / 0.8433 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.1968, allocations: 4 kB / 0.8433 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.1976, allocations: 263.6 kB / 0.8436 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1992, allocations: 1.357 MB / 0.8449 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006831/0.1999, allocations: 188.2 kB / 0.8451 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.2001, allocations: 76.81 kB / 0.8452 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2002, allocations: 7.984 kB / 0.8452 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2002, allocations: 34.56 kB / 0.8452 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.2002, allocations: 0 / 0.8452 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.000797/0.201, allocations: 250.8 kB / 0.8454 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.201, allocations: 51.41 kB / 0.8455 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2012, allocations: 160 kB / 0.8456 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.2012, allocations: 33.7 kB / 0.8457 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.2013, allocations: 132.1 kB / 0.8458 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.2014, allocations: 59.48 kB / 0.8459 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.2014, allocations: 57.88 kB / 0.8459 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2016, allocations: 330.8 kB / 0.8462 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.2018, allocations: 60.42 kB / 0.8463 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.2021, allocations: 143 kB / 0.8464 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.2026, allocations: 219.5 kB / 0.8466 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2026, allocations: 0 / 0.8466 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006135/0.2032, allocations: 257.1 kB / 0.8469 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2032, allocations: 4 kB / 0.8469 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2032, allocations: 4 kB / 0.8469 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2032, allocations: 4 kB / 0.8469 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.2036, allocations: 68.2 kB / 0.847 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2036, allocations: 4 kB / 0.847 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2038, allocations: 31.83 kB / 0.847 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2038, allocations: 15.92 kB / 0.847 GB, free: 10.42 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.0001334/0.204, allocations: 129.7 kB / 0.8471 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.204, allocations: 15.94 kB / 0.8471 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.2047, allocations: 233 kB / 0.8474 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2047, allocations: 4 kB / 0.8474 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2047, allocations: 4 kB / 0.8474 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2047, allocations: 0 / 0.8474 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.205, allocations: 224.4 kB / 0.8476 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.205, allocations: 0 / 0.8476 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.2053, allocations: 47.91 kB / 0.8476 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2053, allocations: 0 / 0.8476 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.2053, allocations: 7.984 kB / 0.8476 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.2053, allocations: 4 kB / 0.8476 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2053, allocations: 0 / 0.8476 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.2059, allocations: 295.3 kB / 0.8479 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.206, allocations: 31.81 kB / 0.848 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.206, allocations: 4 kB / 0.848 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.2063, allocations: 15.98 kB / 0.848 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.2063, allocations: 15.97 kB / 0.848 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.2063, allocations: 12 kB / 0.848 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.926e-05/0.2064, allocations: 116.9 kB / 0.8481 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2064, allocations: 0 / 0.8481 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003588/0.2068, allocations: 63.94 kB / 0.8482 GB, free: 9.148 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.001082/0.2079, allocations: 0.8734 MB / 0.849 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.2084, allocations: 179.7 kB / 0.8492 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2084, allocations: 0 / 0.8492 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.2086, allocations: 84.5 kB / 0.8493 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.2091, allocations: 59.88 kB / 0.8493 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.2124, allocations: 2.172 MB / 0.8515 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.2128, allocations: 0.7175 MB / 0.8522 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.213, allocations: 53.91 kB / 0.8522 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2132, allocations: 55.34 kB / 0.8523 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.2132, allocations: 0 / 0.8523 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.2415, allocations: 5.484 MB / 0.8576 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.05, allocations: 8.469 kB / 0.8576 GB, free: 15.51 MB / 0.6075 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.12872742995387] Failed to read output from testmodel.py, exit status != 0: 11.211396463040728 11.237648218 11.039797621 Calling exit ...