Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, 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.002167/0.002167, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002729/0.002729, allocations: 275 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.6 MB / 0.5069 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 95.39 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1667, allocations: 89.16 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003784/0.1705, allocations: 2.172 MB / 0.6951 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1724, allocations: 1.04 MB / 0.6961 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1726, allocations: 7.938 kB / 0.6961 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.725e-05/0.1727, allocations: 11.86 kB / 0.6961 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.173, allocations: 69.91 kB / 0.6962 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.1735, allocations: 171.7 kB / 0.6964 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.1739, allocations: 290.8 kB / 0.6966 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.1741, allocations: 68.92 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1743, allocations: 111.5 kB / 0.6968 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.1745, allocations: 139.4 kB / 0.6969 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.1746, allocations: 16 kB / 0.697 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.1751, allocations: 295.7 kB / 0.6972 GB, free: 336 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.1751, allocations: 51.77 kB / 0.6973 GB, free: 284 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1753, allocations: 119.3 kB / 0.6974 GB, free: 164 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.1757, allocations: 322.9 kB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1757, allocations: 0 / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1757, allocations: 4 kB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.1757, allocations: 0 / 0.6977 GB, free: 15.84 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001199/0.1769, allocations: 0.631 MB / 0.6983 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.177, allocations: 12.02 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.1773, allocations: 36.56 kB / 0.6984 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.1776, allocations: 275.5 kB / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1777, allocations: 8.656 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1777, allocations: 16.38 kB / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.1783, allocations: 232.9 kB / 0.6989 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1783, allocations: 3.938 kB / 0.6989 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1783, allocations: 4 kB / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1783, allocations: 4 kB / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.1791, allocations: 199.8 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1804, allocations: 0.9423 MB / 0.7 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.1812, allocations: 237.2 kB / 0.7002 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.1816, allocations: 102 kB / 0.7003 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1816, allocations: 7.922 kB / 0.7003 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1817, allocations: 42.55 kB / 0.7004 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1817, allocations: 4 kB / 0.7004 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001273/0.183, allocations: 333.6 kB / 0.7007 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.183, allocations: 77.11 kB / 0.7008 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1833, allocations: 270.9 kB / 0.701 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1834, allocations: 33.7 kB / 0.7011 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1835, allocations: 156.2 kB / 0.7012 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.1836, allocations: 51.2 kB / 0.7013 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.1836, allocations: 45.7 kB / 0.7013 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1838, allocations: 334.8 kB / 0.7016 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.1842, allocations: 99.84 kB / 0.7017 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1845, allocations: 145.7 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.1852, allocations: 237.9 kB / 0.7021 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1853, allocations: 0 / 0.7021 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008866/0.1862, allocations: 301 kB / 0.7024 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1862, allocations: 5.406 kB / 0.7024 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1862, allocations: 4.156 kB / 0.7024 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1862, allocations: 7.938 kB / 0.7024 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1865, allocations: 63.88 kB / 0.7025 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1865, allocations: 0 / 0.7025 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.1868, allocations: 43.72 kB / 0.7025 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1868, allocations: 7.984 kB / 0.7025 GB, free: 10.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001517/0.187, allocations: 137.8 kB / 0.7026 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.1871, allocations: 27.66 kB / 0.7027 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.188, allocations: 291.3 kB / 0.7029 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.188, allocations: 4 kB / 0.7029 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.188, allocations: 4.094 kB / 0.7029 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.188, allocations: 3.938 kB / 0.703 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.1884, allocations: 293.3 kB / 0.7032 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1884, allocations: 3.938 kB / 0.7032 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1887, allocations: 55.94 kB / 0.7033 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1887, allocations: 7.938 kB / 0.7033 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1888, allocations: 8 kB / 0.7033 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1888, allocations: 0 / 0.7033 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1888, allocations: 0 / 0.7033 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.1897, allocations: 441.1 kB / 0.7037 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.1898, allocations: 108.6 kB / 0.7038 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.1898, allocations: 8 kB / 0.7038 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.1901, allocations: 23.97 kB / 0.7039 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.1902, allocations: 23.91 kB / 0.7039 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1902, allocations: 8 kB / 0.7039 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001943/0.1904, allocations: 190 kB / 0.7041 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1904, allocations: 0 / 0.7041 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004611/0.1909, allocations: 56.25 kB / 0.7041 GB, free: 8.859 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002512/0.1912, allocations: 115.2 kB / 0.7042 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008247/0.192, allocations: 239.6 kB / 0.7045 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.192, allocations: 4 kB / 0.7045 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.1924, allocations: 116.2 kB / 0.7046 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.1931, allocations: 76.5 kB / 0.7046 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009377/0.194, allocations: 0.5247 MB / 0.7052 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.1945, allocations: 0.7519 MB / 0.7059 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.1947, allocations: 30.3 kB / 0.7059 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.1948, allocations: 27.36 kB / 0.706 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.1948, allocations: 3.938 kB / 0.706 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.008881/0.2037, allocations: 3.726 MB / 0.7096 GB, free: 3.281 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)