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.001329/0.001329, allocations: 104.6 kB / 15.98 MB, free: 6.344 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.001422/0.001422, allocations: 201.3 kB / 16.91 MB, free: 6.188 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.277/1.277, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 301.1 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8927/0.8927, allocations: 169.2 MB / 0.4985 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 95.81 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.177, allocations: 86.97 MB / 0.6803 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003535/0.1806, allocations: 2.162 MB / 0.6824 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1823, allocations: 1.037 MB / 0.6834 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.1826, allocations: 7.938 kB / 0.6834 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.1827, allocations: 11.86 kB / 0.6834 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1831, allocations: 71.41 kB / 0.6835 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.1835, allocations: 167.7 kB / 0.6837 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1839, allocations: 290.9 kB / 0.6839 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1841, allocations: 72.86 kB / 0.684 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1842, allocations: 111.5 kB / 0.6841 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1845, allocations: 139.3 kB / 0.6842 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.1845, allocations: 16 kB / 0.6843 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.1849, allocations: 295.7 kB / 0.6845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.185, allocations: 55.75 kB / 0.6846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1851, allocations: 111.3 kB / 0.6847 GB, free: 4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.1854, allocations: 223.5 kB / 0.6849 GB, free: 3.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1854, allocations: 7.938 kB / 0.6849 GB, free: 3.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1855, allocations: 3.984 kB / 0.6849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1855, allocations: 3.938 kB / 0.6849 GB, free: 3.766 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.001111/0.1866, allocations: 0.631 MB / 0.6855 GB, free: 3.086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1866, allocations: 8.031 kB / 0.6855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.1869, allocations: 32.66 kB / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1872, allocations: 275.5 kB / 0.6858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1872, allocations: 16.59 kB / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1873, allocations: 12.38 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.1878, allocations: 233 kB / 0.6861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1878, allocations: 0 / 0.6861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.1878, allocations: 11.94 kB / 0.6861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1878, allocations: 4 kB / 0.6861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.1885, allocations: 195.8 kB / 0.6863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1896, allocations: 0.9423 MB / 0.6872 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.1904, allocations: 241.1 kB / 0.6874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.1907, allocations: 105.6 kB / 0.6875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1907, allocations: 11.94 kB / 0.6876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1908, allocations: 34.56 kB / 0.6876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.1908, allocations: 0 / 0.6876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001095/0.1919, allocations: 333.4 kB / 0.6879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1919, allocations: 85.11 kB / 0.688 GB, free: 404 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1922, allocations: 263 kB / 0.6882 GB, free: 136 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1922, allocations: 29.7 kB / 0.6883 GB, free: 100 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2991/0.4913, allocations: 157.9 kB / 0.6884 GB, free: 18.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.4915, allocations: 52.22 kB / 0.6885 GB, free: 18.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.4916, allocations: 40.92 kB / 0.6885 GB, free: 18.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.4917, allocations: 335.7 kB / 0.6888 GB, free: 17.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.4921, allocations: 96.08 kB / 0.6889 GB, free: 17.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.4924, allocations: 139.1 kB / 0.689 GB, free: 17.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.4931, allocations: 238.7 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4931, allocations: 4.875 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008711/0.494, allocations: 301.7 kB / 0.6896 GB, free: 17.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.494, allocations: 7.125 kB / 0.6896 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.494, allocations: 3.188 kB / 0.6896 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4941, allocations: 2.656 kB / 0.6896 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.4944, allocations: 60.45 kB / 0.6896 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4944, allocations: 11.77 kB / 0.6897 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.4946, allocations: 41.84 kB / 0.6897 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.4947, allocations: 7.953 kB / 0.6897 GB, free: 17.82 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.0001003/0.4948, allocations: 127.6 kB / 0.6898 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.4949, allocations: 29.66 kB / 0.6898 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008112/0.4957, allocations: 294.5 kB / 0.6901 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.4957, allocations: 6.969 kB / 0.6901 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4957, allocations: 1.219 kB / 0.6901 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4957, allocations: 2.484 kB / 0.6901 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.4961, allocations: 298.1 kB / 0.6904 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4961, allocations: 0.7188 kB / 0.6904 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4964, allocations: 56.81 kB / 0.6905 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4964, allocations: 0.75 kB / 0.6905 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.4964, allocations: 7.656 kB / 0.6905 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4964, allocations: 7.219 kB / 0.6905 GB, free: 17.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4964, allocations: 1.219 kB / 0.6905 GB, free: 17.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.4972, allocations: 441.8 kB / 0.6909 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.4973, allocations: 104.5 kB / 0.691 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.4973, allocations: 5.5 kB / 0.691 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.4976, allocations: 34.67 kB / 0.6911 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.4977, allocations: 18.03 kB / 0.6911 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4977, allocations: 5.062 kB / 0.6911 GB, free: 17.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.4979, allocations: 191.2 kB / 0.6913 GB, free: 17.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4979, allocations: 0 / 0.6913 GB, free: 17.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.4982, allocations: 57.3 kB / 0.6913 GB, free: 17.03 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.0001985/0.4984, allocations: 116 kB / 0.6914 GB, free: 16.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.4992, allocations: 232.5 kB / 0.6916 GB, free: 16.92 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4992, allocations: 480 / 0.6916 GB, free: 16.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.4996, allocations: 125.1 kB / 0.6918 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.5002, allocations: 78.62 kB / 0.6918 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.5009, allocations: 0.5408 MB / 0.6924 GB, free: 16.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.5011, allocations: 0.7553 MB / 0.6931 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.5012, allocations: 27.83 kB / 0.6931 GB, free: 15.76 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5012, allocations: 0 / 0.6931 GB, free: 15.76 MB / 494.1 MB Notification: Performance of Templates: time 0.006589/0.5078, allocations: 3.462 MB / 0.6965 GB, free: 15.45 MB / 494.1 MB 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)