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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001389/0.001389, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 287 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 102.2 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1772, allocations: 89.16 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006247/0.1835, allocations: 4.476 MB / 0.6972 GB, free: 372 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1867, allocations: 2.703 MB / 0.6998 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1867, allocations: 0 / 0.6998 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.187, allocations: 43.8 kB / 0.6998 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.1872, allocations: 87.48 kB / 0.6999 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1882, allocations: 449.4 kB / 0.7003 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.1886, allocations: 311.8 kB / 0.7006 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1886, allocations: 5.562 kB / 0.7006 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.1896, allocations: 398.9 kB / 0.701 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1897, allocations: 99.53 kB / 0.7011 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1897, allocations: 8 kB / 0.7011 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000989/0.1907, allocations: 0.4913 MB / 0.7016 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.1908, allocations: 39.83 kB / 0.7016 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.1909, allocations: 75.66 kB / 0.7017 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.1915, allocations: 351.1 kB / 0.7021 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1915, allocations: 7.938 kB / 0.7021 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1915, allocations: 3.938 kB / 0.7021 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1916, allocations: 0 / 0.7021 GB, free: 11.32 MB / 0.4981 GB 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.0007649/0.1923, allocations: 0.4993 MB / 0.7026 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1924, allocations: 8.031 kB / 0.7026 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.1925, allocations: 24.75 kB / 0.7026 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1928, allocations: 216.1 kB / 0.7028 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1928, allocations: 8.703 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1928, allocations: 16.38 kB / 0.7028 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.1932, allocations: 249.1 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1933, allocations: 3.938 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.1933, allocations: 8 kB / 0.7031 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.1933, allocations: 8 kB / 0.7031 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.1939, allocations: 427.5 kB / 0.7035 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.1951, allocations: 1.012 MB / 0.7045 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.1954, allocations: 167.5 kB / 0.7046 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1955, allocations: 56.89 kB / 0.7047 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/0.1971, allocations: 1.825 MB / 0.7065 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1972, allocations: 34.56 kB / 0.7065 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1972, allocations: 0 / 0.7065 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003604/0.1976, allocations: 149.3 kB / 0.7066 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1976, allocations: 55.34 kB / 0.7067 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1978, allocations: 178.7 kB / 0.7069 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1978, allocations: 29.7 kB / 0.7069 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.198, allocations: 139.8 kB / 0.707 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.198, allocations: 51.34 kB / 0.7071 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.1981, allocations: 53.61 kB / 0.7071 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1983, allocations: 322.8 kB / 0.7074 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.1983, allocations: 31.98 kB / 0.7075 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1985, allocations: 141.7 kB / 0.7076 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.1988, allocations: 198.7 kB / 0.7078 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1988, allocations: 4 kB / 0.7078 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003479/0.1992, allocations: 213.2 kB / 0.708 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1992, allocations: 8 kB / 0.708 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1992, allocations: 4 kB / 0.708 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1992, allocations: 4 kB / 0.708 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1994, allocations: 59.84 kB / 0.7081 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1994, allocations: 11.94 kB / 0.7081 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1995, allocations: 28.09 kB / 0.7081 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1996, allocations: 16 kB / 0.7081 GB, free: 4.375 MB / 0.4981 GB 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.0001287/0.1997, allocations: 135 kB / 0.7082 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.1998, allocations: 11.91 kB / 0.7083 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.2001, allocations: 168.5 kB / 0.7084 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2001, allocations: 3.938 kB / 0.7084 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2001, allocations: 3.938 kB / 0.7084 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2001, allocations: 0 / 0.7084 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.2004, allocations: 213.6 kB / 0.7086 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2004, allocations: 4 kB / 0.7086 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/0.2005, allocations: 23.98 kB / 0.7087 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2005, allocations: 0 / 0.7087 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2005, allocations: 8 kB / 0.7087 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.2006, allocations: 7.938 kB / 0.7087 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2006, allocations: 0 / 0.7087 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.2008, allocations: 220.8 kB / 0.7089 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.201, allocations: 116.8 kB / 0.709 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.201, allocations: 8 kB / 0.709 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.2012, allocations: 15.92 kB / 0.709 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.2013, allocations: 11.98 kB / 0.709 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.2013, allocations: 12 kB / 0.709 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.49e-05/0.2014, allocations: 116 kB / 0.7092 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2014, allocations: 0 / 0.7092 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003929/0.2018, allocations: 79.98 kB / 0.7092 GB, free: 3.148 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.0003561/0.2021, allocations: 175.1 kB / 0.7094 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.2024, allocations: 119.8 kB / 0.7095 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2024, allocations: 0.9375 kB / 0.7095 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.2025, allocations: 43.92 kB / 0.7096 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.203, allocations: 49.78 kB / 0.7096 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.2037, allocations: 400.5 kB / 0.71 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.2041, allocations: 0.7092 MB / 0.7107 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.2042, allocations: 57.61 kB / 0.7107 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.2043, allocations: 31.42 kB / 0.7108 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2043, allocations: 0 / 0.7108 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of Templates: time 0.007434/0.2117, allocations: 3.234 MB / 0.7139 GB, free: 14.32 MB / 0.5137 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)