Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, 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.001285/0.001285, allocations: 195.1 kB / 16.14 MB, free: 6.637 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 282.8 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 96.97 kB / 0.6057 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1791, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002747/0.1819, allocations: 1.442 MB / 0.6942 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.1858, allocations: 2.917 MB / 0.697 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.1858, allocations: 0 / 0.697 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.079e-05/0.1859, allocations: 7.938 kB / 0.697 GB, free: 496 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.186, allocations: 43.8 kB / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.1865, allocations: 155.4 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.1869, allocations: 335.3 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.1869, allocations: 4 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.187, allocations: 87.86 kB / 0.6976 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1872, allocations: 143.6 kB / 0.6978 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.1872, allocations: 12 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.1876, allocations: 155.7 kB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1878, allocations: 83.81 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1879, allocations: 95.58 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.1883, allocations: 267.6 kB / 0.6984 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1883, allocations: 4 kB / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.1883, allocations: 0 / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1884, allocations: 0 / 0.6984 GB, free: 15.12 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009165/0.1893, allocations: 0.5337 MB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1893, allocations: 8.031 kB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1895, allocations: 28.73 kB / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1898, allocations: 232 kB / 0.6991 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.1898, allocations: 24.36 kB / 0.6992 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.1899, allocations: 16.38 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.1906, allocations: 289.9 kB / 0.6995 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1906, allocations: 7.938 kB / 0.6995 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1906, allocations: 8 kB / 0.6995 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1906, allocations: 4 kB / 0.6995 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.1922, allocations: 0.7488 MB / 0.7002 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1926, allocations: 297.4 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.1944, allocations: 0.6793 MB / 0.7012 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.1949, allocations: 228.7 kB / 0.7014 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/0.1954, allocations: 388.3 kB / 0.7017 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1954, allocations: 43.44 kB / 0.7018 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.867e-06/0.1954, allocations: 0 / 0.7018 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001637/0.1971, allocations: 0.6536 MB / 0.7024 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1971, allocations: 55.41 kB / 0.7025 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1972, allocations: 125.3 kB / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1973, allocations: 33.7 kB / 0.7026 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.1973, allocations: 96.78 kB / 0.7027 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1975, allocations: 126.1 kB / 0.7028 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1976, allocations: 69.67 kB / 0.7029 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1977, allocations: 322.8 kB / 0.7032 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.1982, allocations: 207.7 kB / 0.7034 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.1987, allocations: 203.6 kB / 0.7036 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.1996, allocations: 364.8 kB / 0.704 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1996, allocations: 0 / 0.704 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001076/0.2007, allocations: 464.6 kB / 0.7044 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2007, allocations: 11.92 kB / 0.7044 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2007, allocations: 0 / 0.7044 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2007, allocations: 4 kB / 0.7044 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.2011, allocations: 95.86 kB / 0.7045 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2011, allocations: 0 / 0.7045 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.2013, allocations: 47.8 kB / 0.7046 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.2014, allocations: 15.98 kB / 0.7046 GB, free: 8.473 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001452/0.2015, allocations: 137.8 kB / 0.7047 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2016, allocations: 23.75 kB / 0.7047 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.2028, allocations: 0.5128 MB / 0.7052 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2028, allocations: 4 kB / 0.7052 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2028, allocations: 0 / 0.7052 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2028, allocations: 3.984 kB / 0.7052 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.2032, allocations: 321.2 kB / 0.7055 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2032, allocations: 0 / 0.7055 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.2035, allocations: 99.78 kB / 0.7056 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2035, allocations: 4 kB / 0.7056 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.2036, allocations: 8 kB / 0.7056 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2036, allocations: 0 / 0.7056 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2036, allocations: 4 kB / 0.7056 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2047, allocations: 0.4889 MB / 0.7061 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2047, allocations: 96.8 kB / 0.7062 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.2048, allocations: 11.98 kB / 0.7062 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.205, allocations: 35.97 kB / 0.7063 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.2052, allocations: 115.8 kB / 0.7064 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.2052, allocations: 15.98 kB / 0.7064 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.2053, allocations: 95.27 kB / 0.7065 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2053, allocations: 0 / 0.7065 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003977/0.2057, allocations: 115.9 kB / 0.7066 GB, free: 6.305 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 (37): * Single equations (assignments): 37 * 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.0003843/0.2061, allocations: 203 kB / 0.7068 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.2072, allocations: 471 kB / 0.7072 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2072, allocations: 0 / 0.7072 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005996/0.2078, allocations: 260.6 kB / 0.7075 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.2083, allocations: 76.91 kB / 0.7076 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.2092, allocations: 480.9 kB / 0.708 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.2096, allocations: 0.737 MB / 0.7087 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00044/0.2101, allocations: 185.5 kB / 0.7089 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.2102, allocations: 39.41 kB / 0.7089 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.2102, allocations: 0 / 0.7089 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.009922/0.2201, allocations: 4.878 MB / 0.7137 GB, free: 15.04 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)