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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001447/0.001447, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7513/0.7513, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.17 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1598, allocations: 76.19 MB / 0.6317 GB, free: 4.852 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005934/0.1658, allocations: 4.033 MB / 0.6356 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.1687, allocations: 2.43 MB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.1689, allocations: 0 / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1692, allocations: 47.67 kB / 0.638 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.1697, allocations: 99.36 kB / 0.6381 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.1712, allocations: 0.5262 MB / 0.6386 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.1716, allocations: 255.9 kB / 0.6389 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.1716, allocations: 17.53 kB / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.1719, allocations: 119.5 kB / 0.639 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1721, allocations: 95.66 kB / 0.6391 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1722, allocations: 8 kB / 0.6391 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.1731, allocations: 455.2 kB / 0.6395 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.844e-05/0.1732, allocations: 47.81 kB / 0.6396 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1734, allocations: 79.66 kB / 0.6396 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.1742, allocations: 410.7 kB / 0.64 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.1742, allocations: 0 / 0.64 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1742, allocations: 3.938 kB / 0.64 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1743, allocations: 0 / 0.64 GB, free: 12.23 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.0008702/0.1751, allocations: 0.5031 MB / 0.6405 GB, free: 11.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1752, allocations: 12.03 kB / 0.6405 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.34e-05/0.1752, allocations: 54.67 kB / 0.6406 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.1773, allocations: 184.5 kB / 0.6408 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.1776, allocations: 200.2 kB / 0.641 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.1777, allocations: 16.7 kB / 0.641 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1777, allocations: 12.38 kB / 0.641 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.1783, allocations: 304.2 kB / 0.6413 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1784, allocations: 0 / 0.6413 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.1784, allocations: 11.98 kB / 0.6413 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.1784, allocations: 4 kB / 0.6413 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.1791, allocations: 268 kB / 0.6416 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.1808, allocations: 1.388 MB / 0.6429 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.1814, allocations: 198.4 kB / 0.6431 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.1817, allocations: 80.81 kB / 0.6432 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1817, allocations: 0 / 0.6432 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.1817, allocations: 38.56 kB / 0.6432 GB, free: 8.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.1818, allocations: 0 / 0.6432 GB, free: 8.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007634/0.1825, allocations: 242.9 kB / 0.6434 GB, free: 8.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1826, allocations: 63.25 kB / 0.6435 GB, free: 8.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1827, allocations: 164.9 kB / 0.6437 GB, free: 8.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.1828, allocations: 33.7 kB / 0.6437 GB, free: 8.188 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.1829, allocations: 132 kB / 0.6438 GB, free: 8.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.1829, allocations: 59.11 kB / 0.6439 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.183, allocations: 53.92 kB / 0.6439 GB, free: 7.934 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1831, allocations: 330.7 kB / 0.6442 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.1834, allocations: 64.42 kB / 0.6443 GB, free: 7.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.1836, allocations: 144 kB / 0.6444 GB, free: 7.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.1841, allocations: 219 kB / 0.6446 GB, free: 7.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1841, allocations: 4 kB / 0.6447 GB, free: 7.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005686/0.1847, allocations: 241.2 kB / 0.6449 GB, free: 6.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1847, allocations: 9.719 kB / 0.6449 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1847, allocations: 4 kB / 0.6449 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.1847, allocations: 4 kB / 0.6449 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.1851, allocations: 68.19 kB / 0.645 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1851, allocations: 7.938 kB / 0.645 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.1854, allocations: 31.69 kB / 0.645 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.1854, allocations: 15.98 kB / 0.645 GB, free: 6.738 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.0001314/0.1855, allocations: 129.7 kB / 0.6451 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1856, allocations: 11.91 kB / 0.6452 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.1862, allocations: 232.5 kB / 0.6454 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1862, allocations: 8 kB / 0.6454 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1862, allocations: 0 / 0.6454 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1863, allocations: 3.984 kB / 0.6454 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.1865, allocations: 245.4 kB / 0.6456 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1866, allocations: 0 / 0.6456 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.1869, allocations: 43.91 kB / 0.6457 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1869, allocations: 7.984 kB / 0.6457 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1869, allocations: 4 kB / 0.6457 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1869, allocations: 0 / 0.6457 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1869, allocations: 4 kB / 0.6457 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.1875, allocations: 295.3 kB / 0.646 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.1876, allocations: 104.8 kB / 0.6461 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1877, allocations: 11.98 kB / 0.6461 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1879, allocations: 15.98 kB / 0.6461 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.188, allocations: 11.98 kB / 0.6461 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.188, allocations: 8 kB / 0.6461 GB, free: 5.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.1881, allocations: 117.3 kB / 0.6462 GB, free: 5.406 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1881, allocations: 3.938 kB / 0.6462 GB, free: 5.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.1885, allocations: 63.94 kB / 0.6463 GB, free: 5.34 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.0009423/0.1894, allocations: 0.8714 MB / 0.6471 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.1899, allocations: 175.7 kB / 0.6473 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.19, allocations: 0 / 0.6473 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.1902, allocations: 92.5 kB / 0.6474 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.1907, allocations: 51.95 kB / 0.6474 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.194, allocations: 2.159 MB / 0.6495 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1943, allocations: 0.7173 MB / 0.6502 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.1946, allocations: 45.94 kB / 0.6503 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1947, allocations: 55.41 kB / 0.6503 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1947, allocations: 0 / 0.6503 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.219, allocations: 5.28 MB / 0.6555 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.595, allocations: 14.91 kB / 0.6555 GB, free: 11.88 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)