Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 98.09 kB / 16.4 MB, free: 6.504 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.001093/0.001093, allocations: 196 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7557/0.7557, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 66.02 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1716, allocations: 76.18 MB / 0.6321 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.006363/0.178, allocations: 4.414 MB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.1812, allocations: 2.698 MB / 0.6391 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.1813, allocations: 4 kB / 0.6391 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1816, allocations: 47.67 kB / 0.6391 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.182, allocations: 99.34 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1834, allocations: 0.493 MB / 0.6397 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.1838, allocations: 232 kB / 0.6399 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.419e-05/0.1839, allocations: 9.562 kB / 0.6399 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1851, allocations: 414.8 kB / 0.6403 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1853, allocations: 87.67 kB / 0.6404 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1854, allocations: 8 kB / 0.6404 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1866, allocations: 0.4989 MB / 0.6409 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1867, allocations: 39.83 kB / 0.6409 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1869, allocations: 75.66 kB / 0.641 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.188, allocations: 347.2 kB / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.188, allocations: 0 / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.188, allocations: 0 / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.188, allocations: 0 / 0.6413 GB, free: 10.87 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.0009688/0.189, allocations: 0.4993 MB / 0.6418 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.189, allocations: 8.031 kB / 0.6418 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.1893, allocations: 28.69 kB / 0.6419 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1896, allocations: 216.1 kB / 0.6421 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1896, allocations: 8.703 kB / 0.6421 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.1896, allocations: 16.38 kB / 0.6421 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.19, allocations: 249.1 kB / 0.6423 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1901, allocations: 7.875 kB / 0.6423 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.1901, allocations: 11.98 kB / 0.6423 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.1901, allocations: 4 kB / 0.6423 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.1906, allocations: 427.5 kB / 0.6427 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.192, allocations: 1.004 MB / 0.6437 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.1923, allocations: 167.8 kB / 0.6439 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1924, allocations: 64.88 kB / 0.644 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.194, allocations: 1.825 MB / 0.6457 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.194, allocations: 42.56 kB / 0.6458 GB, free: 5.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.194, allocations: 0 / 0.6458 GB, free: 5.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003419/0.1944, allocations: 147.9 kB / 0.6459 GB, free: 5.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.1945, allocations: 67.34 kB / 0.646 GB, free: 5.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1946, allocations: 168.8 kB / 0.6461 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1947, allocations: 29.7 kB / 0.6462 GB, free: 5.289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.1948, allocations: 143.8 kB / 0.6463 GB, free: 5.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1948, allocations: 43.36 kB / 0.6463 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.195, allocations: 53.61 kB / 0.6464 GB, free: 5.043 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1952, allocations: 322.8 kB / 0.6467 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.1952, allocations: 35.97 kB / 0.6467 GB, free: 4.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1954, allocations: 146.2 kB / 0.6469 GB, free: 4.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1957, allocations: 197.5 kB / 0.6471 GB, free: 4.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1957, allocations: 0 / 0.6471 GB, free: 4.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003662/0.196, allocations: 227.6 kB / 0.6473 GB, free: 4.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1961, allocations: 4 kB / 0.6473 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1961, allocations: 4 kB / 0.6473 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1961, allocations: 8 kB / 0.6473 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1963, allocations: 52.33 kB / 0.6473 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.1963, allocations: 15.92 kB / 0.6474 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1964, allocations: 23.75 kB / 0.6474 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.1965, allocations: 16 kB / 0.6474 GB, free: 3.902 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001206/0.1966, allocations: 129.7 kB / 0.6475 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.1967, allocations: 11.91 kB / 0.6475 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.197, allocations: 158.9 kB / 0.6477 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.197, allocations: 7.922 kB / 0.6477 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.197, allocations: 0 / 0.6477 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.197, allocations: 4 kB / 0.6477 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1973, allocations: 209.6 kB / 0.6479 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1973, allocations: 7.875 kB / 0.6479 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.1974, allocations: 23.98 kB / 0.6479 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1974, allocations: 4 kB / 0.6479 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1974, allocations: 0 / 0.6479 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1975, allocations: 3.938 kB / 0.6479 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1975, allocations: 0 / 0.6479 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1978, allocations: 223.3 kB / 0.6482 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1979, allocations: 112.8 kB / 0.6483 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1979, allocations: 7.938 kB / 0.6483 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.1981, allocations: 19.86 kB / 0.6483 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.1981, allocations: 11.98 kB / 0.6483 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1982, allocations: 11.98 kB / 0.6483 GB, free: 2.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1983, allocations: 125.6 kB / 0.6484 GB, free: 2.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1983, allocations: 0 / 0.6484 GB, free: 2.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.1988, allocations: 68 kB / 0.6485 GB, free: 2.684 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004093/0.1992, allocations: 195 kB / 0.6487 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1994, allocations: 117.7 kB / 0.6488 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1995, allocations: 0.9375 kB / 0.6488 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.1995, allocations: 43.92 kB / 0.6488 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2, allocations: 53.36 kB / 0.6489 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.2008, allocations: 338.8 kB / 0.6492 GB, free: 1.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2011, allocations: 0.7168 MB / 0.6499 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.2012, allocations: 49.73 kB / 0.65 GB, free: 1.125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.2013, allocations: 23.44 kB / 0.65 GB, free: 1.102 MB / 494.1 MB Notification: Performance of SimCode: time 1.592e-05/0.2013, allocations: 0 / 0.65 GB, free: 1.102 MB / 494.1 MB Notification: Performance of Templates: time 0.007855/0.2092, allocations: 3.353 MB / 0.6533 GB, free: 13.79 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)