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.001453/0.001453, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001637/0.001637, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002584/0.002584, allocations: 287.1 kB / 313.5 MB, free: 2.84 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [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.004394/0.004394, allocations: 99.09 kB / 0.7409 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1778, allocations: 95.38 MB / 0.834 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006256/0.1841, allocations: 4.172 MB / 0.8381 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003317/0.1874, allocations: 2.457 MB / 0.8405 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1875, allocations: 0 / 0.8405 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1879, allocations: 47.67 kB / 0.8405 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1882, allocations: 103.3 kB / 0.8406 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1898, allocations: 0.5458 MB / 0.8412 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.1902, allocations: 259.8 kB / 0.8414 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.1903, allocations: 13.73 kB / 0.8414 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.1905, allocations: 119.5 kB / 0.8415 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1907, allocations: 103.6 kB / 0.8416 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1907, allocations: 11.94 kB / 0.8417 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.1916, allocations: 475.2 kB / 0.8421 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.1917, allocations: 39.89 kB / 0.8421 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1918, allocations: 87.58 kB / 0.8422 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008566/0.1927, allocations: 418.7 kB / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1927, allocations: 0 / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1927, allocations: 0 / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.1927, allocations: 0 / 0.8426 GB, free: 15.25 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.0008458/0.1936, allocations: 457.4 kB / 0.8431 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1936, allocations: 8.75 kB / 0.8431 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.1957, allocations: 188.6 kB / 0.8433 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1961, allocations: 154.3 kB / 0.8434 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1961, allocations: 12.7 kB / 0.8434 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1961, allocations: 12.38 kB / 0.8434 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.1968, allocations: 321 kB / 0.8437 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1968, allocations: 7.938 kB / 0.8437 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.1968, allocations: 4 kB / 0.8437 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1968, allocations: 8 kB / 0.8437 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.1975, allocations: 263.6 kB / 0.844 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.1992, allocations: 1.357 MB / 0.8453 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.1998, allocations: 174.5 kB / 0.8455 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.2, allocations: 76.81 kB / 0.8456 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.2001, allocations: 7.984 kB / 0.8456 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2001, allocations: 34.56 kB / 0.8456 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.2001, allocations: 0 / 0.8456 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0007507/0.2008, allocations: 250.9 kB / 0.8458 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2009, allocations: 55.41 kB / 0.8459 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.201, allocations: 156.1 kB / 0.846 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.2011, allocations: 25.7 kB / 0.8461 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.2012, allocations: 140.2 kB / 0.8462 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.2012, allocations: 63.47 kB / 0.8463 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.2013, allocations: 45.89 kB / 0.8463 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2014, allocations: 330.8 kB / 0.8466 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.2017, allocations: 68.41 kB / 0.8467 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.2019, allocations: 143 kB / 0.8468 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.2024, allocations: 223.1 kB / 0.847 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2024, allocations: 0 / 0.847 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005817/0.203, allocations: 253.2 kB / 0.8473 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.203, allocations: 4 kB / 0.8473 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.203, allocations: 7.938 kB / 0.8473 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.203, allocations: 8 kB / 0.8473 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.2034, allocations: 68.2 kB / 0.8474 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2034, allocations: 4 kB / 0.8474 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.2036, allocations: 27.83 kB / 0.8474 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.2036, allocations: 19.94 kB / 0.8474 GB, free: 10.01 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.000131/0.2038, allocations: 137.6 kB / 0.8475 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.2038, allocations: 11.95 kB / 0.8476 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.2044, allocations: 223.3 kB / 0.8478 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2044, allocations: 4 kB / 0.8478 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2044, allocations: 0 / 0.8478 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2044, allocations: 3.984 kB / 0.8478 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.2047, allocations: 224.3 kB / 0.848 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2047, allocations: 3.984 kB / 0.848 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.205, allocations: 51.89 kB / 0.848 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.205, allocations: 0 / 0.848 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2051, allocations: 8 kB / 0.8481 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2051, allocations: 0 / 0.8481 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2051, allocations: 0 / 0.8481 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.2056, allocations: 305.4 kB / 0.8483 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.2057, allocations: 27.88 kB / 0.8484 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.2057, allocations: 4 kB / 0.8484 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.206, allocations: 15.98 kB / 0.8484 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.206, allocations: 15.98 kB / 0.8484 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.206, allocations: 7.984 kB / 0.8484 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.339e-05/0.2061, allocations: 120.9 kB / 0.8485 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2061, allocations: 4 kB / 0.8485 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003608/0.2065, allocations: 55.94 kB / 0.8486 GB, free: 8.734 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.000215/0.2067, allocations: 141.4 kB / 0.8487 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2072, allocations: 174.5 kB / 0.8489 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.2072, allocations: 7.938 kB / 0.8489 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.2075, allocations: 86.62 kB / 0.849 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.2079, allocations: 67.81 kB / 0.849 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009748/0.2089, allocations: 438.5 kB / 0.8495 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2092, allocations: 0.7136 MB / 0.8502 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.2093, allocations: 31.42 kB / 0.8502 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.2093, allocations: 4 kB / 0.8502 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of Templates: time 0.005626/0.215, allocations: 2.95 MB / 0.8531 GB, free: 4.105 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.109392245067284] Failed to read output from testmodel.py, exit status != 0: 0.2239048380870372 0.23691760199999995 0.041219823 Calling exit ...