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.001417/0.001417, 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.001794/0.001794, allocations: 193.9 kB / 16.25 MB, free: 6.617 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 290.3 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9218/0.9218, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 92.02 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1684, allocations: 86.99 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002375/0.1708, allocations: 1.441 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.1741, allocations: 2.883 MB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.1741, allocations: 0 / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.638e-05/0.1742, allocations: 3.938 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.1744, allocations: 43.8 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.1749, allocations: 167.3 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1751, allocations: 247.5 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.1752, allocations: 4.281 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.1753, allocations: 83.92 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1754, allocations: 147.6 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1755, allocations: 12 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.1758, allocations: 147.8 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.1759, allocations: 83.81 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.176, allocations: 91.58 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.1763, allocations: 267.3 kB / 0.6851 GB, free: 11.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1763, allocations: 0 / 0.6851 GB, free: 11.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1763, allocations: 4 kB / 0.6851 GB, free: 11.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1764, allocations: 4 kB / 0.6851 GB, free: 11.46 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.0007832/0.1771, allocations: 0.5336 MB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1772, allocations: 12.03 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1773, allocations: 20.69 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1775, allocations: 241.7 kB / 0.6859 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.1776, allocations: 24.36 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.1776, allocations: 12.38 kB / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.1783, allocations: 290.1 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1783, allocations: 0 / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1783, allocations: 8 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1783, allocations: 4 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.1797, allocations: 0.7527 MB / 0.6869 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1801, allocations: 305.2 kB / 0.6872 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.1817, allocations: 0.6869 MB / 0.6879 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.1822, allocations: 232.7 kB / 0.6881 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003824/0.1826, allocations: 380.4 kB / 0.6885 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1826, allocations: 51.38 kB / 0.6885 GB, free: 7.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.1826, allocations: 4 kB / 0.6885 GB, free: 7.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001564/0.1842, allocations: 0.6449 MB / 0.6892 GB, free: 7.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1842, allocations: 55.41 kB / 0.6892 GB, free: 6.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.1843, allocations: 126.1 kB / 0.6893 GB, free: 6.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1844, allocations: 29.7 kB / 0.6894 GB, free: 6.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.1844, allocations: 96.8 kB / 0.6894 GB, free: 6.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1845, allocations: 126.2 kB / 0.6896 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.1846, allocations: 61.69 kB / 0.6896 GB, free: 6.527 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1847, allocations: 326.8 kB / 0.6899 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.1852, allocations: 203.7 kB / 0.6901 GB, free: 6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.1857, allocations: 200.7 kB / 0.6903 GB, free: 5.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.1865, allocations: 364.7 kB / 0.6907 GB, free: 5.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1865, allocations: 0 / 0.6907 GB, free: 5.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001034/0.1876, allocations: 464.6 kB / 0.6911 GB, free: 4.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1876, allocations: 8 kB / 0.6911 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1876, allocations: 0 / 0.6911 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1876, allocations: 0 / 0.6911 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.188, allocations: 99.86 kB / 0.6912 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.188, allocations: 4 kB / 0.6912 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1882, allocations: 47.7 kB / 0.6913 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.1882, allocations: 15.98 kB / 0.6913 GB, free: 4.812 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.0001234/0.1883, allocations: 143.1 kB / 0.6914 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.1884, allocations: 23.75 kB / 0.6914 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.1896, allocations: 0.5229 MB / 0.692 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.1896, allocations: 4 kB / 0.692 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1896, allocations: 0 / 0.692 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1896, allocations: 3.938 kB / 0.692 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.1899, allocations: 309.3 kB / 0.6923 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1899, allocations: 0 / 0.6923 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.1902, allocations: 103.8 kB / 0.6924 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1903, allocations: 0 / 0.6924 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.1903, allocations: 15.98 kB / 0.6924 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.1903, allocations: 4 kB / 0.6924 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1903, allocations: 0 / 0.6924 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.1914, allocations: 496.7 kB / 0.6928 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1914, allocations: 100.8 kB / 0.6929 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.1915, allocations: 8 kB / 0.693 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1916, allocations: 35.95 kB / 0.693 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.1919, allocations: 119.8 kB / 0.6931 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.1919, allocations: 15.98 kB / 0.6931 GB, free: 2.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.005e-05/0.192, allocations: 95.27 kB / 0.6932 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.192, allocations: 3.938 kB / 0.6932 GB, free: 2.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.1924, allocations: 119.9 kB / 0.6933 GB, free: 2.625 MB / 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.0003676/0.1927, allocations: 187 kB / 0.6935 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.1939, allocations: 0.5576 MB / 0.694 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1939, allocations: 3.938 kB / 0.6941 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.1945, allocations: 251.7 kB / 0.6943 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.1949, allocations: 83.92 kB / 0.6944 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.1956, allocations: 495.9 kB / 0.6948 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1959, allocations: 0.7328 MB / 0.6956 GB, free: 280 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.1963, allocations: 191.4 kB / 0.6957 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.1964, allocations: 39.41 kB / 0.6958 GB, free: 76 kB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1964, allocations: 0 / 0.6958 GB, free: 76 kB / 494.1 MB Notification: Performance of Templates: time 0.008652/0.2051, allocations: 5.061 MB / 0.7007 GB, free: 11.09 MB / 0.4981 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)