Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6996/0.6996, allocations: 128.7 MB / 144.5 MB, free: 1.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 188 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 105.5 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 58.75 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1608, allocations: 75.47 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006844/0.1677, allocations: 4.095 MB / 0.6357 GB, free: 28.88 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1706, allocations: 2.434 MB / 0.6381 GB, free: 26.44 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1708, allocations: 0 / 0.6381 GB, free: 26.44 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.1712, allocations: 43.73 kB / 0.6381 GB, free: 26.4 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.1716, allocations: 91.48 kB / 0.6382 GB, free: 26.31 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.1732, allocations: 453.3 kB / 0.6386 GB, free: 25.87 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.1736, allocations: 339.7 kB / 0.6389 GB, free: 25.54 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.1737, allocations: 9.562 kB / 0.639 GB, free: 25.53 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.174, allocations: 111.6 kB / 0.6391 GB, free: 25.42 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1742, allocations: 91.66 kB / 0.6391 GB, free: 25.33 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.1742, allocations: 8 kB / 0.6392 GB, free: 25.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1752, allocations: 447.1 kB / 0.6396 GB, free: 24.88 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.1753, allocations: 39.84 kB / 0.6396 GB, free: 24.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1754, allocations: 75.66 kB / 0.6397 GB, free: 24.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.1763, allocations: 407.3 kB / 0.6401 GB, free: 24.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1763, allocations: 0 / 0.6401 GB, free: 24.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1763, allocations: 0 / 0.6401 GB, free: 24.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1763, allocations: 3.938 kB / 0.6401 GB, free: 24.37 MB / 442.7 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.0008337/0.1772, allocations: 0.4994 MB / 0.6406 GB, free: 23.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1772, allocations: 8.031 kB / 0.6406 GB, free: 23.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.1794, allocations: 184.5 kB / 0.6408 GB, free: 23.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1796, allocations: 208.1 kB / 0.641 GB, free: 23.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1797, allocations: 12.7 kB / 0.641 GB, free: 23.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.1797, allocations: 16.38 kB / 0.641 GB, free: 23.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.1804, allocations: 304.3 kB / 0.6413 GB, free: 23.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1804, allocations: 4 kB / 0.6413 GB, free: 23.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.1805, allocations: 8 kB / 0.6413 GB, free: 23.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.1805, allocations: 7.938 kB / 0.6413 GB, free: 23.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.1813, allocations: 259.6 kB / 0.6415 GB, free: 22.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1826, allocations: 1.381 MB / 0.6429 GB, free: 21.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.1832, allocations: 190.4 kB / 0.6431 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.1835, allocations: 82.53 kB / 0.6431 GB, free: 20.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1835, allocations: 7.984 kB / 0.6432 GB, free: 20.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1835, allocations: 34.56 kB / 0.6432 GB, free: 20.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.1835, allocations: 0 / 0.6432 GB, free: 20.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007277/0.1843, allocations: 249.3 kB / 0.6434 GB, free: 20.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.1843, allocations: 55.34 kB / 0.6435 GB, free: 20.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1844, allocations: 161.3 kB / 0.6436 GB, free: 20.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1844, allocations: 29.64 kB / 0.6437 GB, free: 20.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1845, allocations: 132 kB / 0.6438 GB, free: 20.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1845, allocations: 59.11 kB / 0.6438 GB, free: 20.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.1846, allocations: 53.83 kB / 0.6439 GB, free: 20.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.1847, allocations: 330.8 kB / 0.6442 GB, free: 19.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1849, allocations: 60.42 kB / 0.6443 GB, free: 19.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1851, allocations: 140.4 kB / 0.6444 GB, free: 19.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.1855, allocations: 219.5 kB / 0.6446 GB, free: 19.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1855, allocations: 4 kB / 0.6446 GB, free: 19.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005058/0.186, allocations: 261 kB / 0.6449 GB, free: 19.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1861, allocations: 5.875 kB / 0.6449 GB, free: 19.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1861, allocations: 4 kB / 0.6449 GB, free: 19.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1861, allocations: 4 kB / 0.6449 GB, free: 19.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.1864, allocations: 64.2 kB / 0.6449 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1864, allocations: 4 kB / 0.6449 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.1866, allocations: 31.77 kB / 0.645 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1867, allocations: 23.97 kB / 0.645 GB, free: 18.96 MB / 442.7 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 8.342e-05/0.1868, allocations: 129.7 kB / 0.6451 GB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1868, allocations: 15.81 kB / 0.6451 GB, free: 18.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.1874, allocations: 237.5 kB / 0.6454 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1874, allocations: 4 kB / 0.6454 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1874, allocations: 0 / 0.6454 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1874, allocations: 0 / 0.6454 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1876, allocations: 241.4 kB / 0.6456 GB, free: 18.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1876, allocations: 0 / 0.6456 GB, free: 18.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.1879, allocations: 47.91 kB / 0.6456 GB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1879, allocations: 4 kB / 0.6456 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1879, allocations: 3.984 kB / 0.6456 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1879, allocations: 4 kB / 0.6456 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1879, allocations: 0 / 0.6456 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.1888, allocations: 0.9306 MB / 0.6466 GB, free: 17.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.1889, allocations: 100.9 kB / 0.6467 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1889, allocations: 4 kB / 0.6467 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.1891, allocations: 19.98 kB / 0.6467 GB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.1892, allocations: 11.92 kB / 0.6467 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1892, allocations: 4 kB / 0.6467 GB, free: 17.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.1893, allocations: 115.2 kB / 0.6468 GB, free: 16.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1893, allocations: 0 / 0.6468 GB, free: 16.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.1897, allocations: 72.03 kB / 0.6469 GB, free: 16.9 MB / 442.7 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.0001814/0.1899, allocations: 139.1 kB / 0.647 GB, free: 16.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004696/0.1904, allocations: 187.6 kB / 0.6472 GB, free: 16.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.1904, allocations: 4 kB / 0.6472 GB, free: 16.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.1906, allocations: 82.06 kB / 0.6473 GB, free: 16.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.1911, allocations: 64.08 kB / 0.6473 GB, free: 16.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.192, allocations: 0.5919 MB / 0.6479 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.1921, allocations: 0.7254 MB / 0.6486 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.1924, allocations: 45.94 kB / 0.6487 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1925, allocations: 31.42 kB / 0.6487 GB, free: 14.97 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1925, allocations: 0 / 0.6487 GB, free: 14.97 MB / 442.7 MB Notification: Performance of Templates: time 0.005275/0.1978, allocations: 3.279 MB / 0.6519 GB, free: 11.75 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)