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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 105.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 189.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7029/0.7029, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.77 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1692, allocations: 76.18 MB / 0.6321 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004841/0.1741, allocations: 4.046 MB / 0.6361 GB, free: 272 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.1767, allocations: 2.422 MB / 0.6385 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.1768, allocations: 4 kB / 0.6385 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1771, allocations: 51.66 kB / 0.6385 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1775, allocations: 99.36 kB / 0.6386 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1788, allocations: 0.5279 MB / 0.6391 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1791, allocations: 259.9 kB / 0.6394 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1791, allocations: 13.55 kB / 0.6394 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1793, allocations: 115.5 kB / 0.6395 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1794, allocations: 91.66 kB / 0.6396 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1795, allocations: 12 kB / 0.6396 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.1802, allocations: 459.2 kB / 0.64 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.1803, allocations: 43.83 kB / 0.6401 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.1804, allocations: 87.64 kB / 0.6402 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.181, allocations: 407 kB / 0.6405 GB, free: 11.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.181, allocations: 0 / 0.6405 GB, free: 11.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.181, allocations: 0 / 0.6405 GB, free: 11.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.181, allocations: 0 / 0.6405 GB, free: 11.7 MB / 494.1 MB 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.0006757/0.1817, allocations: 0.507 MB / 0.641 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1817, allocations: 15.97 kB / 0.6411 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.1836, allocations: 176.5 kB / 0.6412 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1839, allocations: 204.2 kB / 0.6414 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1839, allocations: 16.7 kB / 0.6414 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.1839, allocations: 12.38 kB / 0.6414 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.1846, allocations: 304.4 kB / 0.6417 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1846, allocations: 0 / 0.6417 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.1847, allocations: 8 kB / 0.6417 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.1847, allocations: 4 kB / 0.6417 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.1854, allocations: 263.6 kB / 0.642 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.1871, allocations: 1.396 MB / 0.6434 GB, free: 8.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.1878, allocations: 204.8 kB / 0.6436 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.1881, allocations: 84.84 kB / 0.6436 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1881, allocations: 0 / 0.6436 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1881, allocations: 38.56 kB / 0.6437 GB, free: 8.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1881, allocations: 0 / 0.6437 GB, free: 8.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.000757/0.1889, allocations: 238.8 kB / 0.6439 GB, free: 7.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.189, allocations: 55.41 kB / 0.644 GB, free: 7.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1891, allocations: 164 kB / 0.6441 GB, free: 7.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.1891, allocations: 33.7 kB / 0.6441 GB, free: 7.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.1892, allocations: 128 kB / 0.6443 GB, free: 7.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.1893, allocations: 67.03 kB / 0.6443 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.1894, allocations: 53.94 kB / 0.6444 GB, free: 7.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1895, allocations: 322.8 kB / 0.6447 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1897, allocations: 68.41 kB / 0.6448 GB, free: 7.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.19, allocations: 140 kB / 0.6449 GB, free: 6.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.1905, allocations: 223 kB / 0.6451 GB, free: 6.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1905, allocations: 4 kB / 0.6451 GB, free: 6.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005936/0.1911, allocations: 250.9 kB / 0.6453 GB, free: 6.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1911, allocations: 8 kB / 0.6453 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1911, allocations: 4 kB / 0.6454 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1911, allocations: 4 kB / 0.6454 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.1915, allocations: 63.89 kB / 0.6454 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1915, allocations: 4 kB / 0.6454 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.1918, allocations: 36.05 kB / 0.6455 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1918, allocations: 8 kB / 0.6455 GB, free: 6.273 MB / 494.1 MB 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.0001257/0.1919, allocations: 137.6 kB / 0.6456 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.192, allocations: 11.91 kB / 0.6456 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/0.1926, allocations: 232.3 kB / 0.6458 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1926, allocations: 4 kB / 0.6458 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1926, allocations: 0 / 0.6458 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1927, allocations: 3.984 kB / 0.6458 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.1929, allocations: 245.4 kB / 0.6461 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.193, allocations: 0 / 0.6461 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.1933, allocations: 47.89 kB / 0.6461 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1933, allocations: 4 kB / 0.6461 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1933, allocations: 4 kB / 0.6461 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1933, allocations: 3.984 kB / 0.6461 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1933, allocations: 0 / 0.6461 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.1939, allocations: 303.8 kB / 0.6464 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.194, allocations: 104.8 kB / 0.6465 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1941, allocations: 8 kB / 0.6465 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.1943, allocations: 15.98 kB / 0.6465 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.1944, allocations: 11.92 kB / 0.6466 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.1944, allocations: 19.98 kB / 0.6466 GB, free: 5.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.946e-05/0.1945, allocations: 113.3 kB / 0.6467 GB, free: 4.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1945, allocations: 0 / 0.6467 GB, free: 4.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.1949, allocations: 67.92 kB / 0.6467 GB, free: 4.859 MB / 494.1 MB 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.000217/0.1951, allocations: 139.3 kB / 0.6469 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000551/0.1957, allocations: 175.8 kB / 0.647 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1957, allocations: 0 / 0.647 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.1959, allocations: 95.08 kB / 0.6471 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.1964, allocations: 51.89 kB / 0.6472 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.1974, allocations: 411.2 kB / 0.6476 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1977, allocations: 0.7134 MB / 0.6483 GB, free: 3.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.198, allocations: 53.92 kB / 0.6483 GB, free: 3.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.1981, allocations: 23.42 kB / 0.6483 GB, free: 3.156 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1981, allocations: 0 / 0.6483 GB, free: 3.156 MB / 494.1 MB Notification: Performance of Templates: time 0.006751/0.2048, allocations: 3.421 MB / 0.6517 GB, free: 15.78 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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 & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)