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.001552/0.001552, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9491/0.9491, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 100.4 kB / 0.5952 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1621, allocations: 86.98 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003733/0.1659, allocations: 2.106 MB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1678, allocations: 1.039 MB / 0.6833 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.168, allocations: 3.938 kB / 0.6833 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.1682, allocations: 31.66 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.1686, allocations: 78.11 kB / 0.6834 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1692, allocations: 194 kB / 0.6836 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.1695, allocations: 286.9 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1697, allocations: 72.45 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1698, allocations: 115.5 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.17, allocations: 139.9 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.1701, allocations: 20 kB / 0.6842 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1705, allocations: 299.6 kB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.1705, allocations: 51.7 kB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1707, allocations: 115.3 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.171, allocations: 322.9 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.171, allocations: 4 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1711, allocations: 0 / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1711, allocations: 3.938 kB / 0.6849 GB, free: 11.84 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001081/0.1722, allocations: 0.6194 MB / 0.6855 GB, free: 11.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1722, allocations: 8.031 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.1724, allocations: 40.55 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.1728, allocations: 283.5 kB / 0.6858 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1728, allocations: 12.66 kB / 0.6859 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.1728, allocations: 16.38 kB / 0.6859 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.1734, allocations: 228.9 kB / 0.6861 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1734, allocations: 4 kB / 0.6861 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1734, allocations: 4 kB / 0.6861 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1734, allocations: 4 kB / 0.6861 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.1741, allocations: 199.8 kB / 0.6863 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1752, allocations: 0.9384 MB / 0.6872 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.176, allocations: 241.2 kB / 0.6874 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.1763, allocations: 105.6 kB / 0.6875 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1764, allocations: 12.23 kB / 0.6875 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1764, allocations: 30.56 kB / 0.6876 GB, free: 8.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1764, allocations: 0 / 0.6876 GB, free: 8.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001147/0.1776, allocations: 341.1 kB / 0.6879 GB, free: 8.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.1776, allocations: 81.11 kB / 0.688 GB, free: 8.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1779, allocations: 263 kB / 0.6882 GB, free: 8.203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1779, allocations: 29.7 kB / 0.6883 GB, free: 8.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.178, allocations: 168.1 kB / 0.6884 GB, free: 8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1781, allocations: 51.2 kB / 0.6885 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.1781, allocations: 49.58 kB / 0.6885 GB, free: 7.895 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1783, allocations: 334.8 kB / 0.6888 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.1786, allocations: 95.91 kB / 0.6889 GB, free: 7.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.179, allocations: 139.5 kB / 0.6891 GB, free: 7.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.1796, allocations: 237.7 kB / 0.6893 GB, free: 7.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1796, allocations: 4 kB / 0.6893 GB, free: 7.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000835/0.1805, allocations: 289.1 kB / 0.6896 GB, free: 6.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1805, allocations: 10.19 kB / 0.6896 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1805, allocations: 3.938 kB / 0.6896 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1805, allocations: 4 kB / 0.6896 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.1809, allocations: 67.88 kB / 0.6896 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1809, allocations: 4.125 kB / 0.6896 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.1811, allocations: 39.81 kB / 0.6897 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1811, allocations: 4 kB / 0.6897 GB, free: 6.633 MB / 494.1 MB 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.0001332/0.1813, allocations: 139.1 kB / 0.6898 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.1814, allocations: 31.56 kB / 0.6899 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008304/0.1822, allocations: 296 kB / 0.6901 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1823, allocations: 3.984 kB / 0.6901 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1823, allocations: 4 kB / 0.6901 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1823, allocations: 8 kB / 0.6902 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.1827, allocations: 289.3 kB / 0.6904 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1827, allocations: 3.938 kB / 0.6904 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.1829, allocations: 59.89 kB / 0.6905 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.183, allocations: 0 / 0.6905 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.183, allocations: 0 / 0.6905 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.183, allocations: 7.984 kB / 0.6905 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.183, allocations: 0 / 0.6905 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.1838, allocations: 438.3 kB / 0.6909 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.1839, allocations: 112.6 kB / 0.691 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.184, allocations: 12 kB / 0.691 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1842, allocations: 19.97 kB / 0.6911 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.1843, allocations: 19.97 kB / 0.6911 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1843, allocations: 8 kB / 0.6911 GB, free: 5.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.1845, allocations: 186 kB / 0.6913 GB, free: 4.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1845, allocations: 0 / 0.6913 GB, free: 4.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.1849, allocations: 56 kB / 0.6913 GB, free: 4.875 MB / 494.1 MB 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.0002253/0.1851, allocations: 115.2 kB / 0.6914 GB, free: 4.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.1859, allocations: 239.9 kB / 0.6916 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.186, allocations: 0 / 0.6916 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.1863, allocations: 123.8 kB / 0.6918 GB, free: 4.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.1869, allocations: 75.16 kB / 0.6918 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.1878, allocations: 454.7 kB / 0.6923 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1881, allocations: 0.748 MB / 0.693 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000157/0.1883, allocations: 42.3 kB / 0.693 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.1883, allocations: 23.44 kB / 0.6931 GB, free: 3.012 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1883, allocations: 4 kB / 0.6931 GB, free: 3.008 MB / 494.1 MB Notification: Performance of Templates: time 0.007887/0.1962, allocations: 3.945 MB / 0.6969 GB, free: 15.14 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)