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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009908/0.0009907, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009252/0.009252, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 278.6 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9721/0.9721, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 15.47 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 88.55 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004026/0.1596, allocations: 3.717 MB / 0.6888 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.1623, allocations: 2.424 MB / 0.6911 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.1623, allocations: 4.625 kB / 0.6911 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1626, allocations: 35.8 kB / 0.6912 GB, free: 8.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1628, allocations: 97 kB / 0.6913 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1639, allocations: 484.1 kB / 0.6917 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1642, allocations: 343.7 kB / 0.692 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.1643, allocations: 13.55 kB / 0.6921 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.1645, allocations: 103.6 kB / 0.6922 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1646, allocations: 99.62 kB / 0.6923 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1647, allocations: 12 kB / 0.6923 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.1654, allocations: 459.1 kB / 0.6927 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.1655, allocations: 43.83 kB / 0.6927 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1656, allocations: 105.3 kB / 0.6928 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.1662, allocations: 411.2 kB / 0.6932 GB, free: 6.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1662, allocations: 0 / 0.6932 GB, free: 6.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1662, allocations: 0 / 0.6932 GB, free: 6.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1662, allocations: 0 / 0.6932 GB, free: 6.715 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.0006619/0.1669, allocations: 483.3 kB / 0.6937 GB, free: 6.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1669, allocations: 11.97 kB / 0.6937 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.1688, allocations: 176.5 kB / 0.6939 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1691, allocations: 224.1 kB / 0.6941 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1691, allocations: 8.703 kB / 0.6941 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.1692, allocations: 16.38 kB / 0.6941 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.1698, allocations: 305 kB / 0.6944 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1699, allocations: 7.938 kB / 0.6944 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.1699, allocations: 4 kB / 0.6944 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.1699, allocations: 8 kB / 0.6944 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.1706, allocations: 259.6 kB / 0.6947 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.1723, allocations: 1.396 MB / 0.696 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.173, allocations: 186.5 kB / 0.6962 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1732, allocations: 80.8 kB / 0.6963 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1732, allocations: 8 kB / 0.6963 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1733, allocations: 34.56 kB / 0.6963 GB, free: 3.285 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.1733, allocations: 0 / 0.6963 GB, free: 3.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007737/0.1741, allocations: 254.9 kB / 0.6966 GB, free: 3.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1741, allocations: 55.41 kB / 0.6966 GB, free: 2.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1742, allocations: 150.2 kB / 0.6968 GB, free: 2.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.1743, allocations: 37.64 kB / 0.6968 GB, free: 2.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.1744, allocations: 124 kB / 0.6969 GB, free: 2.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.1744, allocations: 67.08 kB / 0.697 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.1745, allocations: 25.72 kB / 0.697 GB, free: 2.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1746, allocations: 322.8 kB / 0.6973 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.1748, allocations: 68.41 kB / 0.6974 GB, free: 2.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1751, allocations: 136 kB / 0.6975 GB, free: 1.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.1756, allocations: 231.4 kB / 0.6977 GB, free: 1.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1756, allocations: 0 / 0.6977 GB, free: 1.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006085/0.1763, allocations: 253.1 kB / 0.698 GB, free: 1.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1763, allocations: 5.875 kB / 0.698 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1763, allocations: 4 kB / 0.698 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1763, allocations: 4 kB / 0.698 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.1767, allocations: 64.2 kB / 0.6981 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1767, allocations: 8 kB / 0.6981 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.1769, allocations: 39.67 kB / 0.6981 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.177, allocations: 8 kB / 0.6981 GB, free: 1.344 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.000125/0.1771, allocations: 134.4 kB / 0.6982 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.1772, allocations: 11.91 kB / 0.6982 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.1778, allocations: 232.5 kB / 0.6985 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1778, allocations: 4 kB / 0.6985 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1778, allocations: 0 / 0.6985 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1778, allocations: 3.938 kB / 0.6985 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1781, allocations: 241.5 kB / 0.6987 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1782, allocations: 0 / 0.6987 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.1784, allocations: 47.91 kB / 0.6987 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1785, allocations: 0 / 0.6987 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1785, allocations: 11.94 kB / 0.6988 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1785, allocations: 0 / 0.6988 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1785, allocations: 7.984 kB / 0.6988 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.179, allocations: 300.7 kB / 0.6991 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.1792, allocations: 100.9 kB / 0.6992 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1792, allocations: 8 kB / 0.6992 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.1795, allocations: 27.92 kB / 0.6992 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1795, allocations: 11.98 kB / 0.6992 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1796, allocations: 11.98 kB / 0.6992 GB, free: 116 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.1796, allocations: 117.3 kB / 0.6993 GB, free: 0 / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1797, allocations: 0 / 0.6993 GB, free: 0 / 494.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.18, allocations: 64.17 kB / 0.6994 GB, free: 15.93 MB / 0.4981 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.0002025/0.1803, allocations: 133.3 kB / 0.6995 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005256/0.1808, allocations: 184.3 kB / 0.6997 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1808, allocations: 0 / 0.6997 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.181, allocations: 87.83 kB / 0.6998 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.1816, allocations: 60.7 kB / 0.6998 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.1825, allocations: 0.4937 MB / 0.7003 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1828, allocations: 0.7137 MB / 0.701 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.1831, allocations: 49.92 kB / 0.7011 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.1832, allocations: 31.42 kB / 0.7011 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1832, allocations: 0 / 0.7011 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.006933/0.1902, allocations: 3.239 MB / 0.7042 GB, free: 10.97 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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)