Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001392/0.001392, allocations: 191.4 kB / 16.14 MB, free: 6.707 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 286.6 kB / 290.2 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9692/0.9692, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 92.58 kB / 0.5945 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1658, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005446/0.1713, allocations: 4.477 MB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1738, allocations: 2.701 MB / 0.6864 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.1739, allocations: 3.938 kB / 0.6864 GB, free: 9.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1741, allocations: 43.73 kB / 0.6865 GB, free: 9.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.1743, allocations: 87.48 kB / 0.6866 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009673/0.1753, allocations: 448.9 kB / 0.687 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1756, allocations: 311.8 kB / 0.6873 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1756, allocations: 5.562 kB / 0.6873 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008477/0.1765, allocations: 415 kB / 0.6877 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1766, allocations: 83.67 kB / 0.6878 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1766, allocations: 8 kB / 0.6878 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008761/0.1775, allocations: 0.4911 MB / 0.6883 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.1776, allocations: 39.89 kB / 0.6883 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.1777, allocations: 79.59 kB / 0.6884 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.1782, allocations: 347.1 kB / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1782, allocations: 0 / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1782, allocations: 4 kB / 0.6887 GB, free: 7.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1782, allocations: 0 / 0.6887 GB, free: 7.645 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.0006445/0.1788, allocations: 0.4953 MB / 0.6892 GB, free: 7.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1789, allocations: 11.97 kB / 0.6892 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.1791, allocations: 20.75 kB / 0.6892 GB, free: 7.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1792, allocations: 224 kB / 0.6894 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1793, allocations: 12.7 kB / 0.6894 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1793, allocations: 16.38 kB / 0.6895 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.1796, allocations: 249.7 kB / 0.6897 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1797, allocations: 0 / 0.6897 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.1797, allocations: 8 kB / 0.6897 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.1797, allocations: 12 kB / 0.6897 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.1802, allocations: 431.4 kB / 0.6901 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009899/0.1812, allocations: 0.996 MB / 0.6911 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1815, allocations: 159.7 kB / 0.6913 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1816, allocations: 66.19 kB / 0.6913 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.1828, allocations: 1.833 MB / 0.6931 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1829, allocations: 30.56 kB / 0.6931 GB, free: 2.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1829, allocations: 0 / 0.6931 GB, free: 2.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003511/0.1832, allocations: 147.8 kB / 0.6933 GB, free: 2.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1833, allocations: 59.33 kB / 0.6933 GB, free: 2.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1834, allocations: 168.9 kB / 0.6935 GB, free: 2.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1835, allocations: 25.7 kB / 0.6935 GB, free: 2.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.1836, allocations: 155.7 kB / 0.6937 GB, free: 1.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.1836, allocations: 43.36 kB / 0.6937 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.1837, allocations: 57.61 kB / 0.6938 GB, free: 1.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1838, allocations: 322.8 kB / 0.6941 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1839, allocations: 39.91 kB / 0.6941 GB, free: 1.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.184, allocations: 147.3 kB / 0.6943 GB, free: 1.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.1843, allocations: 189.5 kB / 0.6944 GB, free: 1.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1843, allocations: 4 kB / 0.6944 GB, free: 1.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000312/0.1846, allocations: 219 kB / 0.6946 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1846, allocations: 8 kB / 0.6947 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1846, allocations: 4 kB / 0.6947 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1847, allocations: 4 kB / 0.6947 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1848, allocations: 51.86 kB / 0.6947 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1848, allocations: 11.98 kB / 0.6947 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.185, allocations: 24.12 kB / 0.6947 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.185, allocations: 20 kB / 0.6948 GB, free: 0.7031 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 9.64e-05/0.1851, allocations: 133.7 kB / 0.6949 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.1851, allocations: 19.8 kB / 0.6949 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1854, allocations: 154.8 kB / 0.6951 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1854, allocations: 11.92 kB / 0.6951 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1855, allocations: 0 / 0.6951 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1855, allocations: 0 / 0.6951 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1857, allocations: 209.6 kB / 0.6953 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1857, allocations: 4 kB / 0.6953 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.1858, allocations: 31.92 kB / 0.6953 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1858, allocations: 0 / 0.6953 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1858, allocations: 4 kB / 0.6953 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.1858, allocations: 3.938 kB / 0.6953 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1858, allocations: 3.984 kB / 0.6953 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1861, allocations: 225.6 kB / 0.6955 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.1862, allocations: 112.8 kB / 0.6956 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1862, allocations: 4 kB / 0.6956 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.1864, allocations: 19.92 kB / 0.6957 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.1864, allocations: 11.98 kB / 0.6957 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1864, allocations: 15.98 kB / 0.6957 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.784e-05/0.1865, allocations: 123.2 kB / 0.6958 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1865, allocations: 0 / 0.6958 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000375/0.1869, allocations: 72 kB / 0.6959 GB, free: 15.47 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 (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.0003716/0.1873, allocations: 191 kB / 0.6961 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.1875, allocations: 111.8 kB / 0.6962 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1875, allocations: 0.9375 kB / 0.6962 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.1876, allocations: 43.97 kB / 0.6962 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.188, allocations: 51.8 kB / 0.6963 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.1887, allocations: 400.6 kB / 0.6966 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1889, allocations: 0.7053 MB / 0.6973 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000164/0.1891, allocations: 53.67 kB / 0.6974 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1891, allocations: 27.44 kB / 0.6974 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1891, allocations: 0 / 0.6974 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.006101/0.1952, allocations: 3.24 MB / 0.7006 GB, free: 10.65 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)