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.001333/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001221/0.001221, allocations: 189.9 kB / 16.25 MB, free: 6.629 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001967, allocations: 290.6 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 91.45 kB / 0.5947 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1697, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006424/0.1762, allocations: 4.457 MB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.1796, allocations: 2.679 MB / 0.6866 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1797, allocations: 0 / 0.6866 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1801, allocations: 43.75 kB / 0.6866 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1804, allocations: 79.5 kB / 0.6867 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1818, allocations: 462.5 kB / 0.6871 GB, free: 9.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.182, allocations: 243.9 kB / 0.6874 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.1821, allocations: 9.562 kB / 0.6874 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009816/0.1831, allocations: 421.7 kB / 0.6878 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1833, allocations: 91.61 kB / 0.6879 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1833, allocations: 8 kB / 0.6879 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1843, allocations: 0.4951 MB / 0.6884 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.1844, allocations: 27.91 kB / 0.6884 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1845, allocations: 75.66 kB / 0.6885 GB, free: 8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000738/0.1853, allocations: 359.1 kB / 0.6888 GB, free: 7.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1853, allocations: 0 / 0.6888 GB, free: 7.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1853, allocations: 4 kB / 0.6888 GB, free: 7.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1853, allocations: 0 / 0.6888 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.0007646/0.1861, allocations: 0.4953 MB / 0.6893 GB, free: 7.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1861, allocations: 12.03 kB / 0.6893 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.1863, allocations: 24.73 kB / 0.6893 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1865, allocations: 208.1 kB / 0.6895 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1866, allocations: 16.67 kB / 0.6895 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1866, allocations: 16.38 kB / 0.6896 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.187, allocations: 257.7 kB / 0.6898 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.187, allocations: 0 / 0.6898 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.187, allocations: 8 kB / 0.6898 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.1871, allocations: 11.98 kB / 0.6898 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.1875, allocations: 435.4 kB / 0.6902 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1888, allocations: 0.996 MB / 0.6912 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1891, allocations: 155.7 kB / 0.6914 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1892, allocations: 66.19 kB / 0.6914 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.191, allocations: 1.829 MB / 0.6932 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.1911, allocations: 42.56 kB / 0.6932 GB, free: 2.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.1911, allocations: 0 / 0.6932 GB, free: 2.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003795/0.1914, allocations: 137.5 kB / 0.6934 GB, free: 2.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1915, allocations: 59.34 kB / 0.6934 GB, free: 2.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1917, allocations: 164.9 kB / 0.6936 GB, free: 2.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.1918, allocations: 33.7 kB / 0.6936 GB, free: 2.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1919, allocations: 147.8 kB / 0.6938 GB, free: 1.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.1919, allocations: 51.2 kB / 0.6938 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.192, allocations: 53.61 kB / 0.6939 GB, free: 1.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1922, allocations: 330.8 kB / 0.6942 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.1923, allocations: 39.91 kB / 0.6942 GB, free: 1.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.1925, allocations: 135.5 kB / 0.6943 GB, free: 1.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.1928, allocations: 199.1 kB / 0.6945 GB, free: 1.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1928, allocations: 0 / 0.6945 GB, free: 1.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003427/0.1931, allocations: 213.5 kB / 0.6947 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1932, allocations: 6.219 kB / 0.6947 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1932, allocations: 8 kB / 0.6948 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1932, allocations: 8 kB / 0.6948 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1934, allocations: 59.84 kB / 0.6948 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1934, allocations: 4 kB / 0.6948 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1935, allocations: 23.75 kB / 0.6948 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1936, allocations: 12 kB / 0.6949 GB, free: 0.7109 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.0001172/0.1937, allocations: 137.7 kB / 0.695 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1937, allocations: 19.75 kB / 0.695 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.194, allocations: 160.5 kB / 0.6952 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1941, allocations: 3.938 kB / 0.6952 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1941, allocations: 4 kB / 0.6952 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1941, allocations: 0 / 0.6952 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1943, allocations: 221.4 kB / 0.6954 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1944, allocations: 0 / 0.6954 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.1944, allocations: 27.92 kB / 0.6954 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1945, allocations: 3.984 kB / 0.6954 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1945, allocations: 4 kB / 0.6954 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1945, allocations: 7.938 kB / 0.6954 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1945, allocations: 4 kB / 0.6954 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1947, allocations: 213 kB / 0.6956 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.1948, allocations: 108.9 kB / 0.6957 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1949, allocations: 0 / 0.6957 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1951, allocations: 27.91 kB / 0.6958 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.1951, allocations: 11.98 kB / 0.6958 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1951, allocations: 15.98 kB / 0.6958 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.334e-05/0.1952, allocations: 123.2 kB / 0.6959 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1952, allocations: 0 / 0.6959 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003759/0.1956, allocations: 83.89 kB / 0.696 GB, free: 15.46 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.0004425/0.1961, allocations: 171.1 kB / 0.6961 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1963, allocations: 127.8 kB / 0.6963 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1963, allocations: 0 / 0.6963 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.1964, allocations: 43.92 kB / 0.6963 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.0004474/0.1968, allocations: 54.86 kB / 0.6964 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.1976, allocations: 394.8 kB / 0.6967 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1979, allocations: 0.7168 MB / 0.6974 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.198, allocations: 49.67 kB / 0.6975 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.1981, allocations: 23.44 kB / 0.6975 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1981, allocations: 0 / 0.6975 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.007201/0.2053, allocations: 3.342 MB / 0.7008 GB, free: 10.54 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)