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.001342/0.001342, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001332/0.001332, allocations: 191 kB / 16.25 MB, free: 6.625 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 286.4 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.201/1.201, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 101.8 kB / 0.6059 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1797, allocations: 89.15 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002659/0.1824, allocations: 1.451 MB / 0.6944 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.1863, allocations: 2.889 MB / 0.6972 GB, free: 352 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.1863, allocations: 0 / 0.6972 GB, free: 352 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.687e-05/0.1864, allocations: 7.922 kB / 0.6972 GB, free: 344 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1866, allocations: 35.88 kB / 0.6972 GB, free: 308 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.1872, allocations: 167.4 kB / 0.6974 GB, free: 140 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1875, allocations: 247.4 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.1876, allocations: 4 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1877, allocations: 91.89 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1878, allocations: 139.7 kB / 0.6979 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.1879, allocations: 12 kB / 0.6979 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.1883, allocations: 147.8 kB / 0.698 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1884, allocations: 87.81 kB / 0.6981 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1885, allocations: 99.56 kB / 0.6982 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1889, allocations: 259.6 kB / 0.6984 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1889, allocations: 7.938 kB / 0.6985 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1889, allocations: 0 / 0.6985 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1889, allocations: 4 kB / 0.6985 GB, free: 15.06 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.0009014/0.1898, allocations: 0.5375 MB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1899, allocations: 12.03 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.19, allocations: 16.75 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1903, allocations: 240 kB / 0.6992 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.1903, allocations: 24.36 kB / 0.6993 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1904, allocations: 16.38 kB / 0.6993 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.1911, allocations: 293.9 kB / 0.6996 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1911, allocations: 0 / 0.6996 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.1911, allocations: 8 kB / 0.6996 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1911, allocations: 4 kB / 0.6996 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.1927, allocations: 0.7527 MB / 0.7003 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.1932, allocations: 301.3 kB / 0.7006 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.1949, allocations: 0.6754 MB / 0.7013 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.1955, allocations: 236.7 kB / 0.7015 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.1959, allocations: 384.3 kB / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.196, allocations: 39.44 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.196, allocations: 4 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001692/0.1977, allocations: 0.6458 MB / 0.7025 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1977, allocations: 59.41 kB / 0.7026 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1979, allocations: 126.1 kB / 0.7027 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1979, allocations: 29.7 kB / 0.7027 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.198, allocations: 96.78 kB / 0.7028 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1981, allocations: 122.2 kB / 0.7029 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1982, allocations: 69.61 kB / 0.703 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1984, allocations: 326.8 kB / 0.7033 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.1989, allocations: 199.8 kB / 0.7035 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.1994, allocations: 195.6 kB / 0.7037 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.2003, allocations: 360.9 kB / 0.704 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2003, allocations: 4 kB / 0.704 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001115/0.2014, allocations: 468.5 kB / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2015, allocations: 8 kB / 0.7045 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2015, allocations: 0 / 0.7045 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2015, allocations: 0 / 0.7045 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.2019, allocations: 99.84 kB / 0.7046 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2019, allocations: 4 kB / 0.7046 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2021, allocations: 51.7 kB / 0.7046 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.2021, allocations: 12 kB / 0.7046 GB, free: 8.414 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.0001554/0.2023, allocations: 145.7 kB / 0.7048 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.2024, allocations: 23.75 kB / 0.7048 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.2036, allocations: 0.5146 MB / 0.7053 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2037, allocations: 4 kB / 0.7053 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2037, allocations: 0 / 0.7053 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2037, allocations: 3.984 kB / 0.7053 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.2042, allocations: 321.2 kB / 0.7056 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2042, allocations: 0 / 0.7056 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.2045, allocations: 99.8 kB / 0.7057 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2045, allocations: 0 / 0.7057 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.2046, allocations: 11.98 kB / 0.7057 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2046, allocations: 4 kB / 0.7057 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2046, allocations: 3.938 kB / 0.7057 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.2057, allocations: 496.7 kB / 0.7062 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.2058, allocations: 100.8 kB / 0.7063 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.2059, allocations: 12 kB / 0.7063 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.206, allocations: 35.95 kB / 0.7064 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.2063, allocations: 115.8 kB / 0.7065 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.2063, allocations: 15.98 kB / 0.7065 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.2064, allocations: 95.27 kB / 0.7066 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2064, allocations: 0 / 0.7066 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004055/0.2068, allocations: 119.9 kB / 0.7067 GB, free: 6.23 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.0003914/0.2072, allocations: 191 kB / 0.7069 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.2085, allocations: 0.5615 MB / 0.7074 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2085, allocations: 0 / 0.7074 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.2091, allocations: 264.6 kB / 0.7077 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.2095, allocations: 71.92 kB / 0.7077 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.2104, allocations: 495 kB / 0.7082 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.2107, allocations: 0.7289 MB / 0.7089 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004348/0.2112, allocations: 187.2 kB / 0.7091 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2113, allocations: 35.42 kB / 0.7091 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.2113, allocations: 0 / 0.7091 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of Templates: time 0.01097/0.2223, allocations: 5.068 MB / 0.7141 GB, free: 14.69 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)