Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001202/0.001202, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.299/1.299, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002424/0.002424, allocations: 280 kB / 291.3 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.155/1.155, allocations: 178.6 MB / 0.5079 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 99.83 kB / 0.6071 GB, free: 9.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1676, allocations: 89.14 MB / 0.6941 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002419/0.17, allocations: 1.381 MB / 0.6955 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1734, allocations: 2.906 MB / 0.6983 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.1735, allocations: 7.938 kB / 0.6983 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.775e-05/0.1736, allocations: 7.922 kB / 0.6983 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1737, allocations: 43.8 kB / 0.6984 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1742, allocations: 183.2 kB / 0.6986 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1744, allocations: 239.5 kB / 0.6988 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.1745, allocations: 12 kB / 0.6988 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.467e-05/0.1746, allocations: 99.77 kB / 0.6989 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1747, allocations: 119.8 kB / 0.699 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1748, allocations: 8 kB / 0.699 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.1751, allocations: 139.9 kB / 0.6992 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1752, allocations: 87.81 kB / 0.6992 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1753, allocations: 91.58 kB / 0.6993 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.1757, allocations: 267.6 kB / 0.6996 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1757, allocations: 3.938 kB / 0.6996 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1757, allocations: 0 / 0.6996 GB, free: 10.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.1757, allocations: 4 kB / 0.6996 GB, free: 10.44 MB / 0.545 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.0007967/0.1765, allocations: 0.5261 MB / 0.7001 GB, free: 9.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1766, allocations: 12.03 kB / 0.7001 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1767, allocations: 16.75 kB / 0.7001 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1769, allocations: 244 kB / 0.7004 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.177, allocations: 32.36 kB / 0.7004 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.177, allocations: 16.31 kB / 0.7004 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.1777, allocations: 289.3 kB / 0.7007 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1777, allocations: 0 / 0.7007 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1777, allocations: 4 kB / 0.7007 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1777, allocations: 8 kB / 0.7007 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.1791, allocations: 0.7413 MB / 0.7014 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.1795, allocations: 313 kB / 0.7017 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.1812, allocations: 0.6793 MB / 0.7024 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.1817, allocations: 232.6 kB / 0.7026 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.1821, allocations: 392.3 kB / 0.703 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1821, allocations: 38.5 kB / 0.703 GB, free: 6.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.1821, allocations: 7.938 kB / 0.703 GB, free: 6.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001616/0.1838, allocations: 0.654 MB / 0.7037 GB, free: 6.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1838, allocations: 55.41 kB / 0.7037 GB, free: 5.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1839, allocations: 129.1 kB / 0.7038 GB, free: 5.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1839, allocations: 29.7 kB / 0.7039 GB, free: 5.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.184, allocations: 88.8 kB / 0.704 GB, free: 5.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1841, allocations: 134.1 kB / 0.7041 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.1842, allocations: 61.69 kB / 0.7041 GB, free: 5.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1844, allocations: 334.8 kB / 0.7045 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.1848, allocations: 195.7 kB / 0.7046 GB, free: 4.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.1853, allocations: 203.5 kB / 0.7048 GB, free: 4.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.1862, allocations: 358.2 kB / 0.7052 GB, free: 4.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1862, allocations: 0 / 0.7052 GB, free: 4.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001061/0.1873, allocations: 468.6 kB / 0.7056 GB, free: 3.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1873, allocations: 8 kB / 0.7056 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1873, allocations: 0 / 0.7056 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1873, allocations: 0 / 0.7056 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.1877, allocations: 99.86 kB / 0.7057 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1877, allocations: 4 kB / 0.7057 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1879, allocations: 43.8 kB / 0.7058 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1879, allocations: 11.98 kB / 0.7058 GB, free: 3.793 MB / 0.545 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.0001252/0.188, allocations: 141.8 kB / 0.7059 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.1881, allocations: 19.75 kB / 0.7059 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1893, allocations: 0.5196 MB / 0.7064 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1893, allocations: 8 kB / 0.7065 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1893, allocations: 0 / 0.7065 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1893, allocations: 0 / 0.7065 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.1897, allocations: 313.2 kB / 0.7068 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1897, allocations: 0 / 0.7068 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.19, allocations: 103.8 kB / 0.7069 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.19, allocations: 0 / 0.7069 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.19, allocations: 8 kB / 0.7069 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.19, allocations: 11.98 kB / 0.7069 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.19, allocations: 0 / 0.7069 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1911, allocations: 492.1 kB / 0.7073 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.1912, allocations: 104.8 kB / 0.7074 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1912, allocations: 11.94 kB / 0.7075 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1914, allocations: 31.97 kB / 0.7075 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.1916, allocations: 127.7 kB / 0.7076 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1917, allocations: 15.98 kB / 0.7076 GB, free: 1.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.329e-05/0.1917, allocations: 102.1 kB / 0.7077 GB, free: 1.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1917, allocations: 0 / 0.7077 GB, free: 1.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003476/0.1921, allocations: 115.9 kB / 0.7078 GB, free: 1.605 MB / 0.545 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.0003158/0.1924, allocations: 187 kB / 0.708 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.1936, allocations: 0.5582 MB / 0.7086 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1936, allocations: 4 kB / 0.7086 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.1942, allocations: 259.4 kB / 0.7088 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1946, allocations: 82.61 kB / 0.7089 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.1953, allocations: 456.3 kB / 0.7093 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2371/0.4324, allocations: 0.7327 MB / 0.71 GB, free: 50.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4326, allocations: 48.31 kB / 0.7101 GB, free: 50.1 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.4326, allocations: 0 / 0.7101 GB, free: 50.1 MB / 0.545 GB Notification: Performance of Templates: time 0.005817/0.4384, allocations: 4.745 MB / 0.7147 GB, free: 49.79 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)