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.0009866/0.0009866, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008466/0.008467, allocations: 171 kB / 16.26 MB, free: 6.613 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001681/0.001681, allocations: 258.7 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9165/0.9165, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 14.89 kB / 0.5986 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001259/0.157, allocations: 1.103 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.1601, allocations: 2.87 MB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.1602, allocations: 0.625 kB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.761e-05/0.1603, allocations: 3.984 kB / 0.689 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1604, allocations: 41.7 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.1608, allocations: 161.8 kB / 0.6892 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.1611, allocations: 335.3 kB / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.1611, allocations: 3.984 kB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.1612, allocations: 91.84 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1614, allocations: 131.7 kB / 0.6897 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.1614, allocations: 12 kB / 0.6897 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.1618, allocations: 153.7 kB / 0.6899 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.1619, allocations: 84.38 kB / 0.69 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.162, allocations: 125.3 kB / 0.6901 GB, free: 9.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.1623, allocations: 265.3 kB / 0.6903 GB, free: 9.707 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1623, allocations: 3.938 kB / 0.6903 GB, free: 9.703 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1623, allocations: 0 / 0.6903 GB, free: 9.703 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1623, allocations: 0 / 0.6903 GB, free: 9.703 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.0007314/0.1631, allocations: 0.5363 MB / 0.6909 GB, free: 9.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1631, allocations: 8.031 kB / 0.6909 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.1632, allocations: 17.62 kB / 0.6909 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1634, allocations: 242.8 kB / 0.6911 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.1635, allocations: 24.36 kB / 0.6911 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1635, allocations: 13 kB / 0.6912 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.1641, allocations: 316.7 kB / 0.6915 GB, free: 8.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1642, allocations: 0 / 0.6915 GB, free: 8.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1642, allocations: 8 kB / 0.6915 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1642, allocations: 8 kB / 0.6915 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.1657, allocations: 0.8035 MB / 0.6923 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.166, allocations: 309.2 kB / 0.6926 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1677, allocations: 0.7923 MB / 0.6933 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.1682, allocations: 264.7 kB / 0.6936 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003798/0.1686, allocations: 388.3 kB / 0.694 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1687, allocations: 43.44 kB / 0.694 GB, free: 5.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.392e-06/0.1687, allocations: 0 / 0.694 GB, free: 5.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001685/0.1703, allocations: 0.7348 MB / 0.6947 GB, free: 4.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1704, allocations: 59.34 kB / 0.6948 GB, free: 4.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1705, allocations: 130.1 kB / 0.6949 GB, free: 4.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1705, allocations: 33.7 kB / 0.6949 GB, free: 4.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.1706, allocations: 88.8 kB / 0.695 GB, free: 4.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1707, allocations: 126.2 kB / 0.6951 GB, free: 4.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1708, allocations: 25.72 kB / 0.6952 GB, free: 4.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1709, allocations: 334.8 kB / 0.6955 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.1714, allocations: 223.8 kB / 0.6957 GB, free: 3.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.1719, allocations: 232.8 kB / 0.6959 GB, free: 3.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009046/0.1728, allocations: 424.9 kB / 0.6963 GB, free: 3.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1728, allocations: 0 / 0.6963 GB, free: 3.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001057/0.1739, allocations: 0.5159 MB / 0.6968 GB, free: 2.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1739, allocations: 9.5 kB / 0.6968 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1739, allocations: 0 / 0.6968 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1739, allocations: 0 / 0.6968 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.1743, allocations: 115.9 kB / 0.6969 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1743, allocations: 3.938 kB / 0.6969 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1745, allocations: 55.81 kB / 0.697 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1745, allocations: 11.98 kB / 0.697 GB, free: 2.59 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.0001291/0.1747, allocations: 151.1 kB / 0.6972 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1747, allocations: 19.75 kB / 0.6972 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.1759, allocations: 0.5726 MB / 0.6977 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.176, allocations: 4 kB / 0.6977 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.176, allocations: 0 / 0.6977 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.176, allocations: 3.984 kB / 0.6977 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.1763, allocations: 317 kB / 0.698 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1763, allocations: 0 / 0.698 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.1767, allocations: 115.8 kB / 0.6981 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1767, allocations: 4 kB / 0.6982 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1767, allocations: 11.98 kB / 0.6982 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1767, allocations: 0 / 0.6982 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1767, allocations: 0 / 0.6982 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1778, allocations: 0.5514 MB / 0.6987 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1778, allocations: 96.8 kB / 0.6988 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1779, allocations: 8 kB / 0.6988 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1781, allocations: 51.95 kB / 0.6989 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.1783, allocations: 119.8 kB / 0.699 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1783, allocations: 11.98 kB / 0.699 GB, free: 484 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.708e-05/0.1784, allocations: 103.2 kB / 0.6991 GB, free: 380 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1784, allocations: 4 kB / 0.6991 GB, free: 376 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1787, allocations: 115.9 kB / 0.6992 GB, free: 260 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.0003268/0.1791, allocations: 187 kB / 0.6994 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1802, allocations: 0.5149 MB / 0.6999 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.1802, allocations: 0 / 0.6999 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.1808, allocations: 287.4 kB / 0.7001 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1812, allocations: 75.88 kB / 0.7002 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007113/0.1819, allocations: 0.4957 MB / 0.7007 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1822, allocations: 0.7331 MB / 0.7014 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003828/0.1826, allocations: 191.7 kB / 0.7016 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.1826, allocations: 31.42 kB / 0.7016 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1826, allocations: 0 / 0.7016 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.007887/0.1905, allocations: 4.856 MB / 0.7064 GB, free: 8.93 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)