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.0008124/0.0008124, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006227/0.006227, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001753, allocations: 274.6 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9292/0.9292, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 14.23 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 88.55 MB / 0.6851 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001453/0.1577, allocations: 1.103 MB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.1612, allocations: 2.868 MB / 0.689 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.1613, allocations: 5.969 kB / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.618e-05/0.1613, allocations: 7.922 kB / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1615, allocations: 31.88 kB / 0.689 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.1619, allocations: 157.8 kB / 0.6892 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.1622, allocations: 339.3 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.1623, allocations: 4 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.1624, allocations: 91.8 kB / 0.6896 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1625, allocations: 135.7 kB / 0.6897 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.1626, allocations: 12.62 kB / 0.6897 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.163, allocations: 154.8 kB / 0.6899 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.831e-05/0.1631, allocations: 91.81 kB / 0.69 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1632, allocations: 117.2 kB / 0.6901 GB, free: 9.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1635, allocations: 263.6 kB / 0.6903 GB, free: 9.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1635, allocations: 6.125 kB / 0.6903 GB, free: 9.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1635, allocations: 0 / 0.6903 GB, free: 9.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1635, allocations: 0 / 0.6903 GB, free: 9.641 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008035/0.1644, allocations: 0.5325 MB / 0.6909 GB, free: 9.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1644, allocations: 12.03 kB / 0.6909 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.1645, allocations: 16.75 kB / 0.6909 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1647, allocations: 244.1 kB / 0.6911 GB, free: 8.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.1648, allocations: 20.36 kB / 0.6911 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.1648, allocations: 16.38 kB / 0.6912 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.1655, allocations: 318.1 kB / 0.6915 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1655, allocations: 4 kB / 0.6915 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1656, allocations: 8 kB / 0.6915 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1656, allocations: 4 kB / 0.6915 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.1671, allocations: 0.8035 MB / 0.6923 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1675, allocations: 309.2 kB / 0.6926 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.1694, allocations: 0.7806 MB / 0.6933 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.1701, allocations: 264.7 kB / 0.6936 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.1705, allocations: 392.3 kB / 0.6939 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1705, allocations: 39.44 kB / 0.694 GB, free: 5.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.984e-06/0.1705, allocations: 0 / 0.694 GB, free: 5.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001726/0.1722, allocations: 0.7347 MB / 0.6947 GB, free: 4.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.1723, allocations: 59.41 kB / 0.6948 GB, free: 4.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1724, allocations: 128.4 kB / 0.6949 GB, free: 4.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1724, allocations: 33.7 kB / 0.6949 GB, free: 4.695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.1725, allocations: 88.8 kB / 0.695 GB, free: 4.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1726, allocations: 122.2 kB / 0.6951 GB, free: 4.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.1726, allocations: 29.7 kB / 0.6951 GB, free: 4.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1728, allocations: 330.8 kB / 0.6955 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.1733, allocations: 223.8 kB / 0.6957 GB, free: 3.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.1738, allocations: 236.7 kB / 0.6959 GB, free: 3.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.1748, allocations: 420.9 kB / 0.6963 GB, free: 3.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.1748, allocations: 4 kB / 0.6963 GB, free: 3.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001142/0.176, allocations: 0.5159 MB / 0.6968 GB, free: 2.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.176, allocations: 11.92 kB / 0.6968 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.176, allocations: 0 / 0.6968 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.176, allocations: 0 / 0.6968 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.1764, allocations: 115.9 kB / 0.6969 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1764, allocations: 4 kB / 0.6969 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1767, allocations: 63.8 kB / 0.697 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.1767, allocations: 11.98 kB / 0.697 GB, free: 2.523 MB / 494.1 MB 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.0001251/0.1768, allocations: 143.1 kB / 0.6971 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1769, allocations: 19.75 kB / 0.6972 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.1782, allocations: 0.5709 MB / 0.6977 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1782, allocations: 4 kB / 0.6977 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1782, allocations: 3.984 kB / 0.6977 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1782, allocations: 0 / 0.6977 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.1785, allocations: 317 kB / 0.698 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1785, allocations: 0 / 0.698 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.1789, allocations: 119.8 kB / 0.6981 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1789, allocations: 4 kB / 0.6981 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.179, allocations: 8 kB / 0.6982 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.179, allocations: 0 / 0.6982 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.179, allocations: 3.984 kB / 0.6982 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1801, allocations: 0.5475 MB / 0.6987 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1802, allocations: 96.8 kB / 0.6988 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.1802, allocations: 15.98 kB / 0.6988 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1804, allocations: 43.97 kB / 0.6988 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/0.1807, allocations: 119.8 kB / 0.699 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.1807, allocations: 15.98 kB / 0.699 GB, free: 420 kB / 494.1 MB Notification: Performance of sorting global known variables: time 6.026e-05/0.1808, allocations: 103 kB / 0.6991 GB, free: 320 kB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1808, allocations: 0 / 0.6991 GB, free: 320 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.1812, allocations: 115.9 kB / 0.6992 GB, free: 204 kB / 494.1 MB 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.0003297/0.1815, allocations: 187 kB / 0.6994 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.1827, allocations: 0.5188 MB / 0.6999 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1827, allocations: 0 / 0.6999 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.1833, allocations: 291.4 kB / 0.7001 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1838, allocations: 83.8 kB / 0.7002 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.1845, allocations: 0.4918 MB / 0.7007 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1848, allocations: 0.7331 MB / 0.7014 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004102/0.1852, allocations: 187.9 kB / 0.7016 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.1853, allocations: 35.41 kB / 0.7016 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1854, allocations: 0 / 0.7016 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.008691/0.1941, allocations: 4.842 MB / 0.7064 GB, free: 8.875 MB / 0.4981 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)